mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 18:57:35 +00:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15538 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
33bb00a680
commit
6ee561dbc4
@ -429,7 +429,7 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
|
||||
int flags;
|
||||
if(!best) return 0; // no matching out-fmt
|
||||
flags=vf_next_query_format(vf,best);
|
||||
if(!(flags&3)) return 0; // huh?
|
||||
if(!(flags&(VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW))) return 0; // huh?
|
||||
if(fmt!=best) flags&=~VFCAP_CSP_SUPPORTED_BY_HW;
|
||||
// do not allow scaling, if we are before the PP fliter!
|
||||
if(!(flags&VFCAP_POSTPROC)) flags|=VFCAP_SWSCALE;
|
||||
|
Loading…
Reference in New Issue
Block a user