diff options
author | Reuben Martin <reuben.m@gmail.com> | 2013-06-12 22:21:35 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-27 17:40:01 +0200 |
commit | c4db4b17569fa4230f41fb758c147e50b3f1fa3f (patch) | |
tree | 245847647bb226b332ab16ade569e58407e28ad6 | |
parent | 7ebf3ab959a02b67c9d73c8e3f74325913564140 (diff) | |
download | ffmpeg-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.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: |