aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-04-27 18:45:23 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-05-11 00:10:44 +0800
commit1e6338c2da7779f68c28cdb4d46ef0729d464bc0 (patch)
treeae0ead6fd48b9df67623ff473e5f08f1cf0a3d8a /libavcodec/4xm.c
parentab648f79c8160a8e69fb02f308ca3428762ebfe0 (diff)
downloadffmpeg-1e6338c2da7779f68c28cdb4d46ef0729d464bc0.tar.gz
lavc/libx264: Use avctx->framerate first for frame rate setting
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. In this case, we need to setting avctx->framerate and avctx->time_base both, but avctx->framerate not equal to 1/(avctx->time_base). Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavcodec/4xm.c')
0 files changed, 0 insertions, 0 deletions