From 3b4641a5a92b5a7926053b923e9da686c88e90df Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 8 Mar 2020 19:37:20 +0100 Subject: filter: minor cosmetic naming issue Just putting some more lipstick on the pig, maybe it looks a bit nicer now. --- filters/f_decoder_wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filters/f_decoder_wrapper.c') 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); -- cgit v1.2.3