Title: [253150] trunk/Source/WebKit
Revision
253150
Author
[email protected]
Date
2019-12-05 07:33:54 -0800 (Thu, 05 Dec 2019)

Log Message

[GLib] Display GStreamer version in about:gpu page

Rubber-stamped by Carlos Garcia Campos.

* UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (253149 => 253150)


--- trunk/Source/WebKit/ChangeLog	2019-12-05 15:24:13 UTC (rev 253149)
+++ trunk/Source/WebKit/ChangeLog	2019-12-05 15:33:54 UTC (rev 253150)
@@ -1,3 +1,12 @@
+2019-12-05  Philippe Normand  <[email protected]>
+
+        [GLib] Display GStreamer version in about:gpu page
+
+        Rubber-stamped by Carlos Garcia Campos.
+
+        * UIProcess/API/glib/WebKitProtocolHandler.cpp:
+        (WebKit::WebKitProtocolHandler::handleGPU):
+
 2019-12-05  youenn fablet  <[email protected]>
 
         inspector/page/overrideSetting-MockCaptureDevicesEnabled.html is failing after removal of internals.setMockMediaCaptureDevicesEnabled API

Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp (253149 => 253150)


--- trunk/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp	2019-12-05 15:24:13 UTC (rev 253149)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp	2019-12-05 15:33:54 UTC (rev 253150)
@@ -67,6 +67,10 @@
 #include <WebCore/OpenGLShims.h>
 #endif
 
+#if USE(GSTREAMER)
+#include <gst/gst.h>
+#endif
+
 namespace WebKit {
 using namespace WebCore;
 
@@ -223,6 +227,16 @@
         " </tbody></tr>",
         CAIRO_VERSION_STRING, cairo_version_string());
 
+#if USE(GSTREAMER)
+    GUniquePtr<char> gstVersion(gst_version_string());
+    g_string_append_printf(html,
+        " <tbody><tr>"
+        "  <td><div class=\"titlename\">GStreamer version</div></td>"
+        "  <td>%d.%d.%d (build) %s (runtime)</td>"
+        " </tbody></tr>",
+        GST_VERSION_MAJOR, GST_VERSION_MINOR, GST_VERSION_MICRO, gstVersion.get());
+#endif
+
 #if PLATFORM(GTK)
     g_string_append_printf(html,
         " <tbody><tr>"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to