From 37fbef2ccb3c828dd41f6e15ccf635e697e4011f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 7 Dec 2013 19:33:38 +0100 Subject: video/filter: make vf->control non-recursive Reason: I never liked it being recursive. Generally, this seems to cause more problems than trouble, and is less flexible for access outside of the chain. --- video/filter/vf_lavfi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/filter/vf_lavfi.c') diff --git a/video/filter/vf_lavfi.c b/video/filter/vf_lavfi.c index 13f7aa3867..47701ed1f9 100644 --- a/video/filter/vf_lavfi.c +++ b/video/filter/vf_lavfi.c @@ -316,9 +316,9 @@ static int control(vf_instance_t *vf, int request, void *data) switch (request) { case VFCTRL_SEEK_RESET: reset(vf); - break; + return CONTROL_OK; } - return vf_next_control(vf, request, data); + return CONTROL_UNKNOWN; } static void uninit(struct vf_instance *vf) -- cgit v1.2.3