mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-26 09:14:51 +08:00
Merge commit '194be1f43ea391eb986732707435176e579265aa'
* commit '194be1f43ea391eb986732707435176e579265aa': lavf: switch to AVStream.time_base as the hint for the muxer timebase Conflicts: doc/APIchanges libavformat/filmstripenc.c libavformat/movenc.c libavformat/mxfenc.c libavformat/oggenc.c libavformat/swf.h libavformat/version.h tests/ref/lavf/mkv Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -28,7 +28,6 @@ int ff_framehash_write_header(AVFormatContext *s)
|
||||
avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT);
|
||||
for (i = 0; i < s->nb_streams; i++) {
|
||||
AVStream *st = s->streams[i];
|
||||
avpriv_set_pts_info(st, 64, st->codec->time_base.num, st->codec->time_base.den);
|
||||
avio_printf(s->pb, "#tb %d: %d/%d\n", i, st->time_base.num, st->time_base.den);
|
||||
avio_flush(s->pb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user