[FFmpeg-devel] [PATCH] avformat/matroskaenc: Accept time base hint

Michael Bradshaw mjbshaw at gmail.com
Wed Dec 28 07:47:46 EET 2016


From: Michael Bradshaw <mjbshaw at google.com>

Hi,

Attached match makes the MKV/WebM muxer accept the time_base hint as specified in AVStream[1]. If the time_base of all the streams are the same and can be represented in Matroska, then the time_base hint is used. Otherwise, it defaults to milliseconds (which is the current behavior).

Please review

[1]: https://ffmpeg.org/doxygen/3.2/avformat_8h_source.html#l00910

Michael Bradshaw (1):
  avformat/matroskaenc: Accept time base hint

 libavformat/matroskaenc.c | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)

-- 
2.10.1 (Apple Git-78)



More information about the ffmpeg-devel mailing list