Mercurial > mplayer.hg
comparison libmpcodecs/vf_flip.c @ 15212:05aa13cdf92f
replace VO and VF numeric flags with #defined identifiers
author | henry |
---|---|
date | Mon, 18 Apr 2005 15:52:38 +0000 |
parents | 7d6a854a5fe5 |
children | 6ff3379a0862 |
comparison
equal
deleted
inserted
replaced
15211:d42f22a1503b | 15212:05aa13cdf92f |
---|---|
6 #include "../mp_msg.h" | 6 #include "../mp_msg.h" |
7 | 7 |
8 #include "mp_image.h" | 8 #include "mp_image.h" |
9 #include "vf.h" | 9 #include "vf.h" |
10 | 10 |
11 #include "../libvo/video_out.h" | |
11 | 12 |
12 //===========================================================================// | 13 //===========================================================================// |
13 | 14 |
14 static int config(struct vf_instance_s* vf, | 15 static int config(struct vf_instance_s* vf, |
15 int width, int height, int d_width, int d_height, | 16 int width, int height, int d_width, int d_height, |
16 unsigned int flags, unsigned int outfmt){ | 17 unsigned int flags, unsigned int outfmt){ |
17 flags&=~8; // remove the FLIP flag | 18 flags&=~VOFLAG_FLIPPING; // remove the FLIP flag |
18 return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); | 19 return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); |
19 } | 20 } |
20 | 21 |
21 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){ | 22 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){ |
22 if(mpi->flags&MP_IMGFLAG_ACCEPT_STRIDE){ | 23 if(mpi->flags&MP_IMGFLAG_ACCEPT_STRIDE){ |