[MPlayer-cvslog] r31330 - in trunk/libmpcodecs: vf_format.c vf_noformat.c

reimar subversion at mplayerhq.hu
Sat Jun 5 19:45:35 CEST 2010


Author: reimar
Date: Sat Jun  5 19:45:35 2010
New Revision: 31330

Log:
Fix -vf format and -vf noformat to work with slices.

Modified:
   trunk/libmpcodecs/vf_format.c
   trunk/libmpcodecs/vf_noformat.c

Modified: trunk/libmpcodecs/vf_format.c
==============================================================================
--- trunk/libmpcodecs/vf_format.c	Sat Jun  5 19:32:11 2010	(r31329)
+++ trunk/libmpcodecs/vf_format.c	Sat Jun  5 19:45:35 2010	(r31330)
@@ -48,6 +48,7 @@ static int query_format(struct vf_instan
 
 static int vf_open(vf_instance_t *vf, char *args){
     vf->query_format=query_format;
+    vf->draw_slice=vf_next_draw_slice;
     vf->default_caps=0;
     return 1;
 }

Modified: trunk/libmpcodecs/vf_noformat.c
==============================================================================
--- trunk/libmpcodecs/vf_noformat.c	Sat Jun  5 19:32:11 2010	(r31329)
+++ trunk/libmpcodecs/vf_noformat.c	Sat Jun  5 19:45:35 2010	(r31330)
@@ -48,6 +48,7 @@ static int query_format(struct vf_instan
 
 static int vf_open(vf_instance_t *vf, char *args){
     vf->query_format=query_format;
+    vf->draw_slice=vf_next_draw_slice;
     vf->default_caps=0;
     return 1;
 }


More information about the MPlayer-cvslog mailing list