summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2011-08-15 12:03:40 +0200
committerAnton Khirnov <anton@khirnov.net>2011-08-17 15:00:42 +0200
commit48ce8b8da714558c8738610d5512b6c3c95c901a (patch)
treee64cb0a2bed12def3eb1294f35ff6f4cdfbfcccf /libavformat/rmdec.c
parent7c1f6df4b5f80ead35b66e5373af6c8046bace56 (diff)
Use parsers for RealVideo 3/4 to determine correct PTS
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 5ee75b53b9..cf5c46a095 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -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);