Revision f0a68a20
libavformat/electronicarts.c | ||
---|---|---|
416 | 416 |
ea->video_stream_index = st->index; |
417 | 417 |
st->codec->codec_type = AVMEDIA_TYPE_VIDEO; |
418 | 418 |
st->codec->codec_id = ea->video_codec; |
419 |
// parsing is necessary to make FFmpeg generate correct timestamps |
|
420 |
if (st->codec->codec_id == CODEC_ID_MPEG2VIDEO) |
|
421 |
st->need_parsing = AVSTREAM_PARSE_HEADERS; |
|
419 | 422 |
st->codec->codec_tag = 0; /* no fourcc */ |
420 | 423 |
st->codec->time_base = ea->time_base; |
421 | 424 |
st->codec->width = ea->width; |
Also available in: Unified diff