gxf: Added codec ID to playback AVCHD
authorReuben Martin <reuben.m@gmail.com>
Tue, 18 Jun 2013 00:09:34 +0000 (19:09 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Jun 2013 16:13:45 +0000 (18:13 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/gxf.c

index 6cc8afd..e732435 100644 (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;