Commit 86190afb authored by Reuben Martin's avatar Reuben Martin Committed by Michael Niedermayer

gxf: Added codec ID to playback AVCHD

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7eb6eb03
......@@ -164,6 +164,7 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
st->codec->sample_rate = 48000;
break;
case 26: /* AVCi50 / AVCi100 (AVC Intra) */
case 29: /* AVCHD */
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_H264;
st->need_parsing = AVSTREAM_PARSE_HEADERS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment