You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
committed by
James Almer
parent
a04ca05f4c
commit
091705cd55
@@ -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 }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user