On Tue, Feb 28, 2023 at 3:46 PM Marton Balint <[email protected]> wrote:
> And what if first packet pts is 0? Then the second packet pts will be
> assigned to first pts? Maybe you should use AV_NOPTS_VALUE for the default
> first_pts value and check for that instead.

That's a good point.  I never noticed that, but noticing that the
first frame got dropped is probably not something that would have been
immediately obvious.

In any case, I prefer your approach and will resubmit.

Thanks for the feedback,

Devin

-- 
Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: [email protected]
_______________________________________________
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