Hi,

This patch fixes VA-API support when Gnash was built with Xv. It never actually used VA-API since either GtkAggXvGlue or GtkAggGlue was forced.

Regards,
Gwenole.
From ccb3b9996270712aa8060c7b4ff9074d1d403111 Mon Sep 17 00:00:00 2001
From: Gwenole Beauchesne <[email protected]>
Date: Wed, 19 May 2010 08:24:54 +0000
Subject: [PATCH 3/3] Fix VA-API initialization.

---
 gui/gtk_canvas.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gui/gtk_canvas.cpp b/gui/gtk_canvas.cpp
index 3d9efa3..42a57df 100644
--- a/gui/gtk_canvas.cpp
+++ b/gui/gtk_canvas.cpp
@@ -271,7 +271,7 @@ gnash_canvas_setup(GnashCanvas *canvas, std::string& hwaccel,
                 // Set the hardware acclerator to the next one to try
                 // if initializing fails.
                 next_hwaccel = "xv";
-            }
+            } else
 #endif
 #ifdef RENDERER_AGG
 #ifdef HAVE_XV
-- 
1.7.0.4

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to