aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Martin <reuben.m@gmail.com>2013-06-12 22:21:35 -0500
committerMichael Niedermayer <michaelni@gmx.at>2013-06-27 17:40:01 +0200
commitc4db4b17569fa4230f41fb758c147e50b3f1fa3f (patch)
tree245847647bb226b332ab16ade569e58407e28ad6
parent7ebf3ab959a02b67c9d73c8e3f74325913564140 (diff)
downloadffmpeg-c4db4b17569fa4230f41fb758c147e50b3f1fa3f.tar.gz
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 <michaelni@gmx.at>
-rw-r--r--libavformat/gxf.c5
1 files changed, 5 insertions, 0 deletions
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: