Hi,

when I tested xmame with Xv support compiled in on a
display without Xv extension xmame told me the actual
bits per pixel were 0 and stopped.

I think the problem is that use_hwscale should be set
only if Xv is used, but after the test for Xv failed
use_hwscale was still enabled.
At least it worked just fine with the patch below.

Alex
diff -uNr xmame-0.65.1-orig/src/unix/video-drivers/x11_window.c xmame-0.65.1-new/src/unix/video-drivers/x11_window.c
--- xmame-0.65.1-orig/src/unix/video-drivers/x11_window.c	Tue Feb 11 04:20:26 2003
+++ xmame-0.65.1-new/src/unix/video-drivers/x11_window.c	Tue Feb 18 01:30:36 2003
@@ -545,6 +545,9 @@
       {
          fprintf (stderr_file, "X-Server Doesn't support Xv extension\n");
          use_xv = 0;
+#ifdef USE_HWSCALE
+         use_hwscale=0;
+#endif
       }
    }
 #endif

Reply via email to