On Tue, May 19, 2020 at 10:45 PM Derek Buitenhuis
<[email protected]> wrote:
>
> On 19/05/2020 19:55, James Almer wrote:
> > +        if (pic->reordered_opaque) {
>
> If this is meant to be PTS, won't this break on PTS==0?
>

Well, it won't break anything, since if  its not set on the frame,
it'll be set to zero when the frame returns

However, the default value of reordered_opaque is AV_NOPTS_VALUE, so
if you want to skip writing one value, it should probably be that one,
instead of zero.

- Hendrik
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to