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>
Showing
- ffmpeg.c 2 additions, 1 deletionffmpeg.c
- ffmpeg.h 1 addition, 0 deletionsffmpeg.h
- tests/ref/fate/g2m2 160 additions, 160 deletionstests/ref/fate/g2m2
- tests/ref/fate/iff-byterun1 1 addition, 1 deletiontests/ref/fate/iff-byterun1
- tests/ref/fate/iff-ilbm 1 addition, 1 deletiontests/ref/fate/iff-ilbm
- tests/ref/fate/mimic 76 additions, 76 deletionstests/ref/fate/mimic
- tests/ref/fate/mss2-pal 2 additions, 2 deletionstests/ref/fate/mss2-pal
- tests/ref/fate/mss2-pals 2 additions, 2 deletionstests/ref/fate/mss2-pals
- tests/ref/fate/mss2-rgb555 2 additions, 2 deletionstests/ref/fate/mss2-rgb555
- tests/ref/fate/mss2-rgb555s 2 additions, 2 deletionstests/ref/fate/mss2-rgb555s
- tests/ref/fate/vp9-tiling-pedestrian 2 additions, 2 deletionstests/ref/fate/vp9-tiling-pedestrian
Loading
Please register or sign in to comment