mpeg12: Add a common function to find the best frame rate
authorMark Thompson <sw@jkqxz.net>
Tue, 12 Sep 2017 21:11:56 +0000 (22:11 +0100)
committerMark Thompson <sw@jkqxz.net>
Tue, 17 Oct 2017 19:56:30 +0000 (20:56 +0100)
commit278c308ceae6b8d7bac1dfc24518821aae603988
tree3117d01acfc7268aed67db95eb4c7f98fe2511cb
parent03f982bbca4211108477e772db9a339517ecde37
mpeg12: Add a common function to find the best frame rate

This will be used later in both the mpeg2_metadata filter and the
VAAPI MPEG-2 encoder.  Also adds a unit test.

(cherry picked from commit b5859e0b04bdbe12c97cb12ac10a45d51d2d73c9)
libavcodec/Makefile
libavcodec/mpeg12.h
libavcodec/mpeg12framerate.c
libavcodec/tests/mpeg12framerate.c [new file with mode: 0644]
tests/fate/libavcodec.mak