mirror of https://git.ffmpeg.org/ffmpeg.git
gxf: Added codec ID to playback AVCHD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7eb6eb03d8
commit
86190afbda
|
@ -164,6 +164,7 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
|
|||
st->codec->sample_rate = 48000;
|
||||
break;
|
||||
case 26: /* AVCi50 / AVCi100 (AVC Intra) */
|
||||
case 29: /* AVCHD */
|
||||
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
st->codec->codec_id = CODEC_ID_H264;
|
||||
st->need_parsing = AVSTREAM_PARSE_HEADERS;
|
||||
|
|
Loading…
Reference in New Issue