]> git.sesse.net Git - ffmpeg/commit
mfenc: Fall back to avctx->time_base if avctx->framerate isn't set
authorMartin Storsjö <martin@martin.st>
Wed, 20 May 2020 20:08:17 +0000 (23:08 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 22 May 2020 18:49:48 +0000 (21:49 +0300)
commitc116c127f9ccd18ff3cf038cfb65a284b01fe720
tree8b93962d83ff3d70c86d7a4f1776578b4958a0fe
parentfea5f5bc64e02ab4f753aa55cc8eed4a893650a5
mfenc: Fall back to avctx->time_base if avctx->framerate isn't set

The framerate field is the one users are supposed to set, but not
all users might be setting it, so it might be good to fall back
time_base in that case.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mfenc.c