gxf: Added codec ID to playback AVCHD

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Reuben Martin 2013-06-17 19:09:34 -05:00 committed by Michael Niedermayer
parent 7eb6eb03d8
commit 86190afbda

View File

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