Re: [FFmpeg-devel] [PATCH] mfenc: Fall back to avctx->time_base if avctx->framerate isn't set

2020-05-20 Thread myp...@gmail.com
On Thu, May 21, 2020 at 4:09 AM Martin Storsjö wrote: > > 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. > --- > libavcodec/mfenc.c | 10 +- > 1 file changed, 9 insertions(+), 1

[FFmpeg-devel] [PATCH] mfenc: Fall back to avctx->time_base if avctx->framerate isn't set

2020-05-20 Thread Martin Storsjö
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. --- libavcodec/mfenc.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c ind