# HG changeset patch # User arpi # Date 1021861630 0 # Node ID 6253fc19afb1031076a378e54f480480d2e1bfcc # Parent 7f6b58d3b6d5fa050dcd762bf8273a5309d1de05 do not pass the flip flag to vo - maybe it support flipping just report no support diff -r 7f6b58d3b6d5 -r 6253fc19afb1 libmpcodecs/vf_flip.c --- a/libmpcodecs/vf_flip.c Mon May 20 01:24:09 2002 +0000 +++ b/libmpcodecs/vf_flip.c Mon May 20 02:27:10 2002 +0000 @@ -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;