[Mplayer-cvslog] CVS: main/libmpcodecs vf_flip.c,1.4,1.5
Arpi of Ize
arpi at mplayerhq.hu
Mon May 20 04:27:12 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv23451
Modified Files:
vf_flip.c
Log Message:
do not pass the flip flag to vo - maybe it support flipping just report no support
Index: vf_flip.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_flip.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- vf_flip.c 18 Apr 2002 22:21:54 -0000 1.4
+++ vf_flip.c 20 May 2002 02:27:10 -0000 1.5
@@ -16,6 +16,13 @@
//===========================================================================//
+static int config(struct vf_instance_s* vf,
+ int width, int height, int d_width, int d_height,
+ unsigned int flags, unsigned int outfmt){
+ flags&=~8; // remove the FLIP flag
+ return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
+}
+
static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
if(mpi->flags&MP_IMGFLAG_ACCEPT_STRIDE){
// try full DR !
@@ -66,6 +73,7 @@
//===========================================================================//
static int open(vf_instance_t *vf, char* args){
+ vf->config=config;
vf->get_image=get_image;
vf->put_image=put_image;
vf->default_reqs=VFCAP_ACCEPT_STRIDE;
More information about the MPlayer-cvslog
mailing list