From 86190afbda0c6e663596d799a939a7ffca8e7cfa Mon Sep 17 00:00:00 2001 From: Reuben Martin Date: Mon, 17 Jun 2013 19:09:34 -0500 Subject: [PATCH] gxf: Added codec ID to playback AVCHD Signed-off-by: Michael Niedermayer --- libavformat/gxf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 6cc8afde83..e73243559e 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -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; -- 2.11.0