From c4db4b17569fa4230f41fb758c147e50b3f1fa3f Mon Sep 17 00:00:00 2001 From: Reuben Martin Date: Wed, 12 Jun 2013 22:21:35 -0500 Subject: Added GXF format code to identify AVC Intra video streams. This was an extension to the origional GXF spec implemented by Grass Valley. Signed-off-by: Michael Niedermayer --- libavformat/gxf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/gxf.c') diff --git a/libavformat/gxf.c b/libavformat/gxf.c index f801d246b6..6cc8afde83 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -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: -- cgit v1.2.3