[MPlayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.58,1.59
Alex Beregszaszi
syncmail at mplayerhq.hu
Sat May 21 17:00:30 CEST 2005
CVS change done by Alex Beregszaszi
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv26450
Modified Files:
vf_scale.c
Log Message:
10l
Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- vf_scale.c 6 Mar 2005 21:15:24 -0000 1.58
+++ vf_scale.c 21 May 2005 15:00:27 -0000 1.59
@@ -429,7 +429,7 @@
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;
More information about the MPlayer-cvslog
mailing list