Title: [122983] trunk/Source/WebCore
Revision
122983
Author
[email protected]
Date
2012-07-18 09:51:13 -0700 (Wed, 18 Jul 2012)

Log Message

[GStreamer] 0.11 build broken
https://bugs.webkit.org/show_bug.cgi?id=91629

Patch by Philippe Normand <[email protected]> on 2012-07-18
Reviewed by Alexis Menard.

* platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
(webkitVideoSinkProposeAllocation): Pass null GstStructure to
gst_query_add_allocation_meta(). Our propose-allocation method
is simple enough to not need to set it.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (122982 => 122983)


--- trunk/Source/WebCore/ChangeLog	2012-07-18 16:46:12 UTC (rev 122982)
+++ trunk/Source/WebCore/ChangeLog	2012-07-18 16:51:13 UTC (rev 122983)
@@ -1,3 +1,15 @@
+2012-07-18  Philippe Normand  <[email protected]>
+
+        [GStreamer] 0.11 build broken
+        https://bugs.webkit.org/show_bug.cgi?id=91629
+
+        Reviewed by Alexis Menard.
+
+        * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
+        (webkitVideoSinkProposeAllocation): Pass null GstStructure to
+        gst_query_add_allocation_meta(). Our propose-allocation method
+        is simple enough to not need to set it.
+
 2012-07-18  Chris Fleizach  <[email protected]>
 
         AX: <input type="submit"> unlabelled.

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp (122982 => 122983)


--- trunk/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp	2012-07-18 16:46:12 UTC (rev 122982)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp	2012-07-18 16:51:13 UTC (rev 122983)
@@ -355,8 +355,8 @@
     if (!gst_video_info_from_caps(&sink->priv->info, caps))
         return FALSE;
 
-    gst_query_add_allocation_meta(query, GST_VIDEO_META_API_TYPE);
-    gst_query_add_allocation_meta(query, GST_VIDEO_CROP_META_API_TYPE);
+    gst_query_add_allocation_meta(query, GST_VIDEO_META_API_TYPE, 0);
+    gst_query_add_allocation_meta(query, GST_VIDEO_CROP_META_API_TYPE, 0);
     return TRUE;
 }
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to