mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
do not pass the flip flag to vo - maybe it support flipping just report no support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6138 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f4bd05cdc8
commit
8126f220e7
@ -16,6 +16,13 @@ struct vf_priv_s {
|
||||
|
||||
//===========================================================================//
|
||||
|
||||
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 void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
|
||||
//===========================================================================//
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user