f_decoder_wrapper: allow changing --ad and --vd at runtime

This commit is contained in:
Dudemanguy
2025-01-27 17:57:43 -06:00
parent 8d665ac2df
commit 0e03fdf0f7
3 changed files with 18 additions and 1 deletions

View File

@@ -114,8 +114,10 @@ const struct m_sub_options dec_wrapper_conf = {
{"correct-pts", OPT_BOOL(correct_pts)},
{"container-fps-override", OPT_DOUBLE(fps_override), M_RANGE(0, DBL_MAX)},
{"ad", OPT_STRING(audio_decoders),
.flags = UPDATE_AD,
.help = decoder_list_help},
{"vd", OPT_STRING(video_decoders),
.flags = UPDATE_VD,
.help = decoder_list_help},
{"audio-spdif", OPT_STRING(audio_spdif),
.help = decoder_list_help},