forked from FFmpeg/FFmpeg
avformat/mov_demuxer: Extended MOV demuxer to handle EVC video content
- Added evc extension to the list of extensions for ff_mov_demuxer Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
This commit is contained in:
parent
a04ca05f4c
commit
091705cd55
2 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
|
|||
{ "mp3", AV_CODEC_ID_MP3, AVMEDIA_TYPE_AUDIO },
|
||||
{ "mpegvideo", AV_CODEC_ID_MPEG2VIDEO, AVMEDIA_TYPE_VIDEO },
|
||||
{ "truehd", AV_CODEC_ID_TRUEHD, AVMEDIA_TYPE_AUDIO },
|
||||
{ "evc", AV_CODEC_ID_EVC, AVMEDIA_TYPE_VIDEO },
|
||||
{ 0 }
|
||||
};
|
||||
int score;
|
||||
|
|
|
@ -2646,6 +2646,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
|
|||
case AV_CODEC_ID_VP9:
|
||||
sti->need_parsing = AVSTREAM_PARSE_FULL;
|
||||
break;
|
||||
case AV_CODEC_ID_EVC:
|
||||
case AV_CODEC_ID_AV1:
|
||||
/* field_order detection of H264 requires parsing */
|
||||
case AV_CODEC_ID_H264:
|
||||
|
@ -7932,6 +7933,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
|
|||
{ MKTAG('i','l','o','c'), mov_read_iloc },
|
||||
{ MKTAG('p','c','m','C'), mov_read_pcmc }, /* PCM configuration box */
|
||||
{ MKTAG('p','i','t','m'), mov_read_pitm },
|
||||
{ MKTAG('e','v','c','C'), mov_read_glbl },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue