[Mplayer-cvslog] CVS: main/libmpcodecs vf_fame.c,1.4,1.5 vf_lavc.c,1.1,1.2

Arpi of Ize arpi at mplayerhq.hu
Sun Apr 28 02:16:24 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv20680

Modified Files:
	vf_fame.c vf_lavc.c 
Log Message:
10l

Index: vf_fame.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_fame.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vf_fame.c	14 Apr 2002 02:07:44 -0000	1.4
+++ vf_fame.c	28 Apr 2002 00:16:22 -0000	1.5
@@ -81,7 +81,7 @@
     case IMGFMT_YV12:
     case IMGFMT_I420:
     case IMGFMT_IYUV:
-	return (vf_next_query_format(vf,fmt) & (~(VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE)));
+	return (vf_next_query_format(vf,IMGFMT_MPEGPES) & (~(VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE)));
     }
     return 0;
 }
@@ -91,6 +91,7 @@
     vf->put_image=put_image;
     vf->query_format=query_format;
     vf->priv=malloc(sizeof(struct vf_priv_s));
+    vf->default_caps=0;
     memset(vf->priv,0,sizeof(struct vf_priv_s));
 
     vf->priv->ctx=fame_open();

Index: vf_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_lavc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vf_lavc.c	27 Apr 2002 23:34:44 -0000	1.1
+++ vf_lavc.c	28 Apr 2002 00:16:22 -0000	1.2
@@ -100,7 +100,7 @@
     case IMGFMT_YV12:
     case IMGFMT_I420:
     case IMGFMT_IYUV:
-	return (vf_next_query_format(vf,fmt) & (~(VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE)));
+	return (vf_next_query_format(vf,IMGFMT_MPEGPES) & (~(VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_ACCEPT_STRIDE)));
     }
     return 0;
 }




More information about the MPlayer-cvslog mailing list