Browse Source

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>
tags/n0.11
Michael Niedermayer 13 years ago
parent
commit
1dd71e1cd5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rawdec.c

+ 1
- 1
libavformat/rawdec.c View File

@@ -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);


Loading…
Cancel
Save