Skip to content
Snippets Groups Projects
Commit 146cdf7e authored by Vishwanath Dixit's avatar Vishwanath Dixit Committed by Michael Niedermayer
Browse files

fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabled


Forced key frames generation functionality was assuming the first PTS
value as zero, but, when 'copyts' is enabled, the first PTS can be any
big number. This was eventually forcing all the frames as key frames.
To resolve this issue, update has been made to use first input pts as
reference pts.

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent f56a0b02
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment