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_expand.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_expand.c')
-rw-r--r-- | video/filter/vf_expand.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/filter/vf_expand.c b/video/filter/vf_expand.c index d336cf3d91..2e72f6bff7 100644 --- a/video/filter/vf_expand.c +++ b/video/filter/vf_expand.c @@ -137,10 +137,6 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi) return dmpi; } -static int control(struct vf_instance *vf, int request, void* data){ - return vf_next_control(vf,request,data); -} - static int query_format(struct vf_instance *vf, unsigned int fmt) { if (!IMGFMT_IS_HWACCEL(fmt)) @@ -150,7 +146,6 @@ static int query_format(struct vf_instance *vf, unsigned int fmt) static int vf_open(vf_instance_t *vf){ vf->config=config; - vf->control=control; vf->query_format=query_format; vf->filter=filter; mp_msg(MSGT_VFILTER, MSGL_INFO, "Expand: %d x %d, %d ; %d, aspect: %f, round: %d\n", |