Added GXF format code to identify AVC Intra video streams. This was an extension...
authorReuben Martin <reuben.m@gmail.com>
Thu, 13 Jun 2013 03:21:35 +0000 (22:21 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Jun 2013 15:40:01 +0000 (17:40 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/gxf.c

index f801d24..6cc8afd 100644 (file)
@@ -163,6 +163,11 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
             st->codec->channel_layout = AV_CH_LAYOUT_STEREO;
             st->codec->sample_rate = 48000;
             break;
+        case 26: /* AVCi50 / AVCi100 (AVC Intra) */
+            st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
+            st->codec->codec_id = CODEC_ID_H264;
+            st->need_parsing = AVSTREAM_PARSE_HEADERS;
+            break;
         // timecode tracks:
         case 7:
         case 8: