diff options
Diffstat (limited to 'libmpcodecs/dec_video.c')
-rw-r--r-- | libmpcodecs/dec_video.c | 14 |
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; |