mirror of https://github.com/FFmpeg/FFmpeg.git
perfer avctx->framerate first than use avctx->time_base when setting the frame rate to encoder. 1/time_base is not the average frame rate if the frame rate is not constant, so use avctx->framerate if the value is not zero. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>pull/311/head
parent
1e6338c2da
commit
68bac50604
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue