[FFmpeg-devel] [PATCH 1/3] decklink: Don't take for granted that first frame to decklink output will be PTS 0
Devin Heitmueller
devin.heitmueller at ltnglobal.com
Wed Mar 1 16:17:44 EET 2023
On Tue, Feb 28, 2023 at 3:46 PM Marton Balint <cus at passwd.hu> 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: devin.heitmueller at ltnglobal.com
More information about the ffmpeg-devel
mailing list