diff options
author | Reuben Martin <reuben.m@gmail.com> | 2013-06-13 07:21:35 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-27 19:40:01 +0400 |
commit | c4db4b17569fa4230f41fb758c147e50b3f1fa3f (patch) | |
tree | 245847647bb226b332ab16ade569e58407e28ad6 /libavformat/gxf.c | |
parent | 7ebf3ab959a02b67c9d73c8e3f74325913564140 (diff) |
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>
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r-- | libavformat/gxf.c | 5 |
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: |