diff options
author | wm4 <wm4@nowhere> | 2013-12-07 19:33:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-07 19:33:38 +0100 |
commit | 37fbef2ccb3c828dd41f6e15ccf635e697e4011f (patch) | |
tree | cb3ff81605d7aa6ea147ba7b24fc2e310b83d04f /video/filter/vf_softpulldown.c | |
parent | 0af9ede5466fa5b02348d5cfb3182f80771a5f38 (diff) | |
download | mpv-37fbef2ccb3c828dd41f6e15ccf635e697e4011f.tar.bz2 mpv-37fbef2ccb3c828dd41f6e15ccf635e697e4011f.tar.xz |
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.
Diffstat (limited to 'video/filter/vf_softpulldown.c')
-rw-r--r-- | video/filter/vf_softpulldown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/filter/vf_softpulldown.c b/video/filter/vf_softpulldown.c index 4ad0e66552..4e713bd47f 100644 --- a/video/filter/vf_softpulldown.c +++ b/video/filter/vf_softpulldown.c @@ -121,9 +121,9 @@ static int control(vf_instance_t *vf, int request, void *data) switch (request) { case VFCTRL_SEEK_RESET: vf_detc_init_pts_buf(&vf->priv->ptsbuf); - break; + return CONTROL_OK; } - return vf_next_control(vf, request, data); + return CONTROL_UNKNOWN; } static void uninit(struct vf_instance *vf) |