diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-21 14:33:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-22 14:59:02 +0200 |
commit | 1dd71e1cd5eac942666f95f406f7aed81c5ab208 (patch) | |
tree | 42ce76287be2f215cbe59b539a8a3926d5c19942 | |
parent | 035f6620ceb43622847e704a3b032a33ba329b29 (diff) | |
download | ffmpeg-1dd71e1cd5eac942666f95f406f7aed81c5ab208.tar.gz |
rawdec: force timestamps from codec to be used
This fixes playback timing with at least m4v files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rawdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 91b666051b..1746e7b194 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -157,7 +157,7 @@ int ff_raw_video_read_header(AVFormatContext *s) st->codec->codec_type = AVMEDIA_TYPE_VIDEO; st->codec->codec_id = s->iformat->raw_codec_id; - st->need_parsing = AVSTREAM_PARSE_FULL; + st->need_parsing = AVSTREAM_PARSE_FULL_RAW; if ((ret = av_parse_video_rate(&framerate, s1->framerate)) < 0) { av_log(s, AV_LOG_ERROR, "Could not parse framerate: %s.\n", s1->framerate); |