[MPlayer-cvslog] CVS: main mplayer.c,1.868,1.869

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Sun Sep 11 08:42:34 CEST 2005


CVS change done by Jindrich Makovicka CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv30542

Modified Files:
	mplayer.c 
Log Message:
screenshot filter

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.868
retrieving revision 1.869
diff -u -r1.868 -r1.869
--- mplayer.c	5 Sep 2005 12:05:29 -0000	1.868
+++ mplayer.c	11 Sep 2005 06:42:32 -0000	1.869
@@ -3665,7 +3665,11 @@
       }    
       break;
     case MP_CMD_SCREENSHOT :
-      if(vo_config_count) video_out->control(VOCTRL_SCREENSHOT, NULL);
+      if(vo_config_count){
+	mp_msg(MSGT_CPLAYER,MSGL_INFO,"sending VFCTRL_SCREENSHOT!\n");
+	if(CONTROL_OK!=((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_SCREENSHOT, 0))
+	video_out->control(VOCTRL_SCREENSHOT, NULL);
+      }
       break;
     case MP_CMD_VF_CHANGE_RECTANGLE:
 	set_rectangle(sh_video, cmd->args[0].v.i, cmd->args[1].v.i);




More information about the MPlayer-cvslog mailing list