2011-02-21 Andoni Morales Alastruey <amorales@flumotion.com>
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2011 10:12:29 +0000 (10:12 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2011 10:12:29 +0000 (10:12 +0000)
        Reviewed by Martin Robinson.

        [GStreamer] Add URI queries support in webkitwebsrc
        https://bugs.webkit.org/show_bug.cgi?id=54627

        This allow replying to URI queries from downstream elements
        with the uri currently set in the source element.

        No new tests, this feature is dedicated to internal GStreamer use,
        such as the upcoming HTTP Live Streaming element.

        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
        (webKitWebSrcQuery):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79200 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

index 752b473..0403ace 100644 (file)
@@ -2,6 +2,22 @@
 
         Reviewed by Martin Robinson.
 
+        [GStreamer] Add URI queries support in webkitwebsrc
+        https://bugs.webkit.org/show_bug.cgi?id=54627
+
+        This allow replying to URI queries from downstream elements
+        with the uri currently set in the source element.
+
+        No new tests, this feature is dedicated to internal GStreamer use,
+        such as the upcoming HTTP Live Streaming element.
+
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+        (webKitWebSrcQuery):
+
+2011-02-21  Andoni Morales Alastruey  <amorales@flumotion.com>
+
+        Reviewed by Martin Robinson.
+
         [GStreamer] Add 'location' property in webkitwebsrc
         https://bugs.webkit.org/show_bug.cgi?id=54628
 
index b452133..819c5d0 100644 (file)
@@ -517,6 +517,12 @@ static gboolean webKitWebSrcQuery(GstPad* pad, GstQuery* query)
         }
         break;
     }
+    case GST_QUERY_URI:
+    {
+        gst_query_set_uri(query, src->priv->uri);
+        result = TRUE;
+        break;
+    }
     default:
         break;
     }