[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

philn at webkit.org philn at webkit.org
Fri Jan 21 14:54:20 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit 8196a102ab9c8fb3d59164e3fb7df59ffad83760
Author: philn at webkit.org <philn at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 4 09:12:49 2011 +0000

    2011-01-03  Philippe Normand  <pnormand at igalia.com>
    
            Rubber-stamped by Eric Seidel.
    
            [GStreamer] build fails with gstreamer core 0.10.31 and -plugins-base 0.10.30
            https://bugs.webkit.org/show_bug.cgi?id=51810
    
            Based on a patch by Mart Raudsepp.
    
            No new tests, build fix only.
    
            * platform/graphics/gstreamer/GStreamerGWorld.cpp:
            (WebCore::GStreamerGWorld::setWindowOverlay): Use the new xoverlay
            API if the GST_CHECK_PLUGINS_BASE_VERSION macro is defined. It was
            introduced in same version as the xoverlay API change.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74961 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 1124bd1..ce38557 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,19 @@
+2011-01-03  Philippe Normand  <pnormand at igalia.com>
+
+        Rubber-stamped by Eric Seidel.
+
+        [GStreamer] build fails with gstreamer core 0.10.31 and -plugins-base 0.10.30
+        https://bugs.webkit.org/show_bug.cgi?id=51810
+
+        Based on a patch by Mart Raudsepp.
+
+        No new tests, build fix only.
+
+        * platform/graphics/gstreamer/GStreamerGWorld.cpp:
+        (WebCore::GStreamerGWorld::setWindowOverlay): Use the new xoverlay
+        API if the GST_CHECK_PLUGINS_BASE_VERSION macro is defined. It was
+        introduced in same version as the xoverlay API change.
+
 2011-01-04  Leo Yang  <leo.yang at torchmobile.com.cn>
 
         Reviewed by Dirk Schulze.
diff --git a/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp b/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp
index e8c87ac..2a27db0 100644
--- a/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp
+++ b/WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp
@@ -210,7 +210,10 @@ void GStreamerGWorld::setWindowOverlay(GstMessage* message)
 
     if (m_videoWindow) {
         m_videoWindow->prepareForOverlay(message);
-#if GST_CHECK_VERSION(0, 10, 31) || GST_VERSION_NANO
+
+// gst_x_overlay_set_window_handle was introduced in -plugins-base
+// 0.10.31, just like the macro for checking the version.
+#ifdef GST_CHECK_PLUGINS_BASE_VERSION
         gst_x_overlay_set_window_handle(GST_X_OVERLAY(sink), m_videoWindow->videoWindowId());
 #else
         gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(sink), m_videoWindow->videoWindowId());

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list