summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/filter/vf_vo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/filter/vf_vo.c b/video/filter/vf_vo.c
index 922229aa53..5edd2956c6 100644
--- a/video/filter/vf_vo.c
+++ b/video/filter/vf_vo.c
@@ -70,12 +70,8 @@ static int control(struct vf_instance *vf, int request, void *data)
{
switch (request) {
case VFCTRL_GET_DEINTERLACE:
- if (!video_out)
- return CONTROL_FALSE; // vo not configured?
return vo_control(video_out, VOCTRL_GET_DEINTERLACE, data) == VO_TRUE;
case VFCTRL_SET_DEINTERLACE:
- if (!video_out)
- return CONTROL_FALSE; // vo not configured?
return vo_control(video_out, VOCTRL_SET_DEINTERLACE, data) == VO_TRUE;
case VFCTRL_GET_YUV_COLORSPACE:
return vo_control(video_out, VOCTRL_GET_YUV_COLORSPACE, data) == true;