mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
lavf/supenc: add flag for default codecs only
The muxer does not accept any other codecs.
This commit is contained in:
committed by
Gyan Doshi
co-authored by
Gyan Doshi
parent
20b671f651
commit
fdce17953c
@@ -88,7 +88,8 @@ const FFOutputFormat ff_sup_muxer = {
|
||||
.p.audio_codec = AV_CODEC_ID_NONE,
|
||||
.p.subtitle_codec = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
|
||||
.p.flags = AVFMT_VARIABLE_FPS | AVFMT_TS_NONSTRICT,
|
||||
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH,
|
||||
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
|
||||
FF_OFMT_FLAG_ONLY_DEFAULT_CODECS,
|
||||
.init = sup_init,
|
||||
.write_packet = sup_write_packet,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user