[MPlayer-cvslog] r20990 - trunk/mplayer.c
reimar
subversion at mplayerhq.hu
Fri Nov 17 19:18:28 CET 2006
Author: reimar
Date: Fri Nov 17 19:18:28 2006
New Revision: 20990
Modified:
trunk/mplayer.c
Log:
Minor mp_property_deinterlace simplification
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Fri Nov 17 19:18:28 2006
@@ -1934,16 +1934,16 @@
switch(action) {
case M_PROPERTY_GET:
if(!arg) return M_PROPERTY_ERROR;
- vf->control(sh_video->vfilter, VFCTRL_GET_DEINTERLACE, arg);
+ vf->control(vf, VFCTRL_GET_DEINTERLACE, arg);
return M_PROPERTY_OK;
case M_PROPERTY_SET:
if(!arg) return M_PROPERTY_ERROR;
M_PROPERTY_CLAMP(prop,*(int*)arg);
- vf->control(sh_video->vfilter, VFCTRL_SET_DEINTERLACE, arg);
+ vf->control(vf, VFCTRL_SET_DEINTERLACE, arg);
return M_PROPERTY_OK;
case M_PROPERTY_STEP_UP:
case M_PROPERTY_STEP_DOWN:
- vf->control(sh_video->vfilter, VFCTRL_SET_DEINTERLACE, &toggle);
+ vf->control(vf, VFCTRL_SET_DEINTERLACE, &toggle);
return M_PROPERTY_OK;
}
return M_PROPERTY_NOT_IMPLEMENTED;
More information about the MPlayer-cvslog
mailing list