aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/proresdsp.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-04-27 18:52:57 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-05-11 00:10:55 +0800
commit68bac50604a52760ccb9d9dd43f100436fd66b71 (patch)
tree678ddd8e9b3070baee2778278fb27201cc56f9e8 /libavcodec/proresdsp.c
parent1e6338c2da7779f68c28cdb4d46ef0729d464bc0 (diff)
downloadffmpeg-68bac50604a52760ccb9d9dd43f100436fd66b71.tar.gz
lavc/libx265: 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, so use avctx->framerate if the value is not zero. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavcodec/proresdsp.c')
0 files changed, 0 insertions, 0 deletions