summaryrefslogtreecommitdiffstats
path: root/filters/f_decoder_wrapper.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-08 19:37:20 +0100
committerwm4 <wm4@nowhere>2020-03-08 19:38:10 +0100
commit3b4641a5a92b5a7926053b923e9da686c88e90df (patch)
tree582f0600e4493d812e1b1aa45efb4a8c8affdc2f /filters/f_decoder_wrapper.c
parent048334c396f5fed17d3b608af0495cdf95c38499 (diff)
downloadmpv-3b4641a5a92b5a7926053b923e9da686c88e90df.tar.bz2
mpv-3b4641a5a92b5a7926053b923e9da686c88e90df.tar.xz
filter: minor cosmetic naming issue
Just putting some more lipstick on the pig, maybe it looks a bit nicer now.
Diffstat (limited to 'filters/f_decoder_wrapper.c')
-rw-r--r--filters/f_decoder_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filters/f_decoder_wrapper.c b/filters/f_decoder_wrapper.c
index b919db4d4d..82cc0a15db 100644
--- a/filters/f_decoder_wrapper.c
+++ b/filters/f_decoder_wrapper.c
@@ -1076,7 +1076,7 @@ static void *dec_thread(void *ptr)
mpthread_set_name(t_name);
while (!p->request_terminate_dec_thread) {
- mp_filter_run(p->dec_root_filter);
+ mp_filter_graph_run(p->dec_root_filter);
update_cached_values(p);
mp_dispatch_queue_process(p->dec_dispatch, INFINITY);
}
@@ -1191,7 +1191,7 @@ struct mp_decoder_wrapper *mp_decoder_wrapper_create(struct mp_filter *parent,
p->queue = mp_async_queue_create();
p->dec_dispatch = mp_dispatch_create(p);
p->dec_root_filter = mp_filter_create_root(public_f->global);
- mp_filter_root_set_wakeup_cb(p->dec_root_filter, wakeup_dec_thread, p);
+ mp_filter_graph_set_wakeup_cb(p->dec_root_filter, wakeup_dec_thread, p);
mp_dispatch_set_onlock_fn(p->dec_dispatch, onlock_dec_thread, p);
struct mp_stream_info *sinfo = mp_filter_find_stream_info(parent);