[Libav-user] AV_PTS_WRAP_IGNORE

Richard Hussong rhussong at westpond.com
Thu May 30 01:45:16 EEST 2019


Strahinja -

It doesn't make sense to change that value. It is one of a set of three
constants describing different possible values
of AVStream::pts_wrap_behavior: AV_PTS_WRAP_IGNORE (0),
AV_PTS_WRAP_ADD_OFFSET (1), and AV_PTS_WRAP_SUBTRACT_OFFSET (-1). If you
change AV_PTS_WRAP_IGNORE to 1, it will have the same value as
AV_PTS_WRAP_ADD_OFFSET, and there will no longer be a proper enumeration.
The code to handle PTS wrap is complicated - I wouldn't mess with it,
myself. Since it is in the libavformat core, it could affect all muxers and
demuxers.
- Richard Hussong

On Wed, May 29, 2019 at 1:55 PM Strahinja Radman <dr.strashni at gmail.com>
wrote:

> Can I safely change this flag #define AV_PTS_WRAP_IGNORE, to 1? Will
> this mess up some muxers or demuxers?
>
>
> Kind regards,
>
> Strahinja
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190529/aa429f92/attachment.html>


More information about the Libav-user mailing list