diff options
author | Michael Niedermayer | 2015-11-10 22:53:29 +0100 |
---|---|---|
committer | Michael Niedermayer | 2015-11-11 15:04:21 +0100 |
commit | 46070cc20aa341d385136ec767b127a956f7d9ba (patch) | |
tree | 3309c3df45c6e7a10a1e2d3a5b28c28d93f6051e /ffmpeg.h | |
parent | 9ffc61b1256e42c54766e73fd899a57261eb9b3b (diff) |
ffmpeg: set muxer packet duration based on framerate only for CFR
a set ost->frame_rate does not imply CFR in ffmpeg
The changed fate tests had all wrong packet durations
(like 1/1000 or 1/90000)
There might be more cases in which is_cfr could be set
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -421,6 +421,7 @@ typedef struct OutputStream { /* video only */ AVRational frame_rate; + int is_cfr; int force_fps; int top_field_first; int rotate_overridden; |