[FFmpeg-devel] [PATCH] cuvid: Always calculate second field PTS from frame rate

Miroslav Slugeň thunder.m at email.cz
Thu Feb 9 00:31:54 EET 2017

It is much more robust solution to always calculate second field (when 
deinterlacing) PTS from frame rate, then relating on previous PTS, 
because if there are B frames in input and some video frames are 
corrupted (dropped) it will calculate wrong PTS for second field and 
could hang on encoding in do_video_out.

Miroslav Slugeň

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cuvid-Always-calculate-second-field-pts-from-frame-r.patch
Type: text/x-patch
Size: 1961 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170208/8ee22890/attachment.bin>

More information about the ffmpeg-devel mailing list