]> git.sesse.net Git - ffmpeg/commit
lavc/libopenh264enc: use framerate if available
authorJun Zhao <barryjzhao@tencent.com>
Sun, 26 Jul 2020 11:16:43 +0000 (19:16 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Wed, 5 Aug 2020 09:32:16 +0000 (17:32 +0800)
commitbecfdaaa0961fcdfea5e7be102d59e5861e5adea
tree743a934d1b2e9f7c086e033057164824c308260a
parentffa6072fc727a14680a85449259f6b49b47587e6
lavc/libopenh264enc: use framerate if available

Respecting the framerate in the libopenh264enc codec context.

Both the libx264 and libx265 encoders already contain similar logic
to first check the framerate before falling back to the timebase.

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavcodec/libopenh264enc.c