Browse Source

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>
tags/n2.0
Reuben Martin Michael Niedermayer 12 years ago
parent
commit
c4db4b1756
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavformat/gxf.c

+ 5
- 0
libavformat/gxf.c View 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:


Loading…
Cancel
Save