summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-05-27 08:37:06 +0000
committerphintuka <phintuka>2009-05-27 08:37:06 +0000
commit02fc0a77bb37180a3e101fe5037b385354bbe889 (patch)
tree5ae0fab4948e708286a7c5b5a24f840cd0aa9948
parentc0587172823ca8d73411f67d7d627dceb0c269bb (diff)
downloadxineliboutput-02fc0a77bb37180a3e101fe5037b385354bbe889.tar.gz
xineliboutput-02fc0a77bb37180a3e101fe5037b385354bbe889.tar.bz2
Disabled (VDPAU) HW scaler
-rw-r--r--xine/vo_osdscaler.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/xine/vo_osdscaler.c b/xine/vo_osdscaler.c
index 4325de5d..d9562d9e 100644
--- a/xine/vo_osdscaler.c
+++ b/xine/vo_osdscaler.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: vo_osdscaler.c,v 1.3 2009-03-17 12:28:17 phintuka Exp $
+ * $Id: vo_osdscaler.c,v 1.4 2009-05-27 08:37:06 phintuka Exp $
*
*/
@@ -237,10 +237,18 @@ static int check_for_scaling(osdscaler_hook_t *this, vo_frame_t *frame, vo_overl
if (!data->scaling)
return 0;
+#if 0
if (this->custom_extent_supported) {
/* let the "real" video driver do scaling */
return 0;
}
+#else
+# ifdef VO_CAP_CUSTOM_EXTENT_OVERLAY
+ /* disable VDPAU HW scaler */
+ overlay->extent_width = 0;
+ overlay->extent_height = 0;
+# endif
+#endif
/* detect output size */
if (overlay->unscaled && this->unscaled_supported) {