summaryrefslogtreecommitdiffstats
path: root/filters/f_decoder_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'filters/f_decoder_wrapper.c')
-rw-r--r--filters/f_decoder_wrapper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/filters/f_decoder_wrapper.c b/filters/f_decoder_wrapper.c
index a99c27b7af..3c7fc9bdbe 100644
--- a/filters/f_decoder_wrapper.c
+++ b/filters/f_decoder_wrapper.c
@@ -132,7 +132,6 @@ const struct m_sub_options dec_wrapper_conf = {
M_RANGE(0, M_MAX_MEM_BYTES)},
{"audio-reversal-buffer", OPT_BYTE_SIZE(audio_reverse_size),
M_RANGE(0, M_MAX_MEM_BYTES)},
- {"fps", OPT_REPLACED("container-fps-override")},
{0}
},
.size = sizeof(struct dec_wrapper_opts),
@@ -1114,8 +1113,7 @@ static void public_f_reset(struct mp_filter *f)
if (p->queue) {
mp_async_queue_reset(p->queue);
thread_lock(p);
- if (p->dec_root_filter)
- mp_filter_reset(p->dec_root_filter);
+ mp_filter_reset(p->dec_root_filter);
mp_dispatch_interrupt(p->dec_dispatch);
thread_unlock(p);
mp_async_queue_resume(p->queue);