changeset 15537:7e9403eec2f6

10l
author alex
date Sat, 21 May 2005 15:00:27 +0000
parents b39eee207c42
children ade823c5c294
files libmpcodecs/vf_scale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c	Sat May 21 14:44:10 2005 +0000
+++ b/libmpcodecs/vf_scale.c	Sat May 21 15:00:27 2005 +0000
@@ -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;