summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/dec_video.c
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-09-11 11:58:28 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:08:20 +0200
commit416c03417ebd7538882ee586bb049a25e202a7e6 (patch)
tree265ef182b4e7aa1b4e9f75b36e58a0639a355443 /libmpcodecs/dec_video.c
parent6371787b891160e2d3e0c56b8951b168f82ee7ab (diff)
downloadmpv-416c03417ebd7538882ee586bb049a25e202a7e6.tar.bz2
mpv-416c03417ebd7538882ee586bb049a25e202a7e6.tar.xz
vf_rectangle: remove as it is very dirty and we have a replacement now
Diffstat (limited to 'libmpcodecs/dec_video.c')
-rw-r--r--libmpcodecs/dec_video.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c
index e328f3e948..e5dcf690c6 100644
--- a/libmpcodecs/dec_video.c
+++ b/libmpcodecs/dec_video.c
@@ -170,20 +170,6 @@ void set_video_colorspace(struct sh_video *sh)
}
-int set_rectangle(sh_video_t *sh_video, int param, int value)
-{
- vf_instance_t *vf = sh_video->vfilter;
- int data[] = { param, value };
-
- mp_dbg(MSGT_DECVIDEO, MSGL_V, "set rectangle \n");
- if (vf) {
- int ret = vf->control(vf, VFCTRL_CHANGE_RECTANGLE, data);
- if (ret)
- return 1;
- }
- return 0;
-}
-
void resync_video_stream(sh_video_t *sh_video)
{
const struct vd_functions *vd = sh_video->vd_driver;