mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Use parsers for RealVideo 3/4 to determine correct PTS
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:

committed by
Anton Khirnov

parent
7c1f6df4b5
commit
48ce8b8da7
@ -298,6 +298,7 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
|
||||
st->codec->time_base.num= 1;
|
||||
fps= avio_rb16(pb);
|
||||
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
st->need_parsing = AVSTREAM_PARSE_TIMESTAMPS;
|
||||
avio_rb32(pb);
|
||||
avio_skip(pb, 2);
|
||||
avio_rb16(pb);
|
||||
|
Reference in New Issue
Block a user