Title: [291484] trunk
Revision
291484
Author
[email protected]
Date
2022-03-18 07:31:16 -0700 (Fri, 18 Mar 2022)

Log Message

[GStreamer] Migrate gst-full support to 1.20
https://bugs.webkit.org/show_bug.cgi?id=237772

Patch by Philippe Normand <[email protected]> on 2022-03-18
Reviewed by Xabier Rodriguez-Calvar.

.:

* Source/cmake/GStreamerChecks.cmake:

Source/WebCore:

* platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::registerWebKitGStreamerElements): GStreamer 1.20 no longer requires manual
initialization of gst-full. It is done during the gst_init().

Modified Paths

Diff

Modified: trunk/ChangeLog (291483 => 291484)


--- trunk/ChangeLog	2022-03-18 14:27:25 UTC (rev 291483)
+++ trunk/ChangeLog	2022-03-18 14:31:16 UTC (rev 291484)
@@ -1,5 +1,14 @@
 2022-03-18  Philippe Normand  <[email protected]>
 
+        [GStreamer] Migrate gst-full support to 1.20
+        https://bugs.webkit.org/show_bug.cgi?id=237772
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * Source/cmake/GStreamerChecks.cmake:
+
+2022-03-18  Philippe Normand  <[email protected]>
+
         [GStreamer] Initial import of the GstWebRTC backend
         https://bugs.webkit.org/show_bug.cgi?id=236540
 

Modified: trunk/Source/WebCore/ChangeLog (291483 => 291484)


--- trunk/Source/WebCore/ChangeLog	2022-03-18 14:27:25 UTC (rev 291483)
+++ trunk/Source/WebCore/ChangeLog	2022-03-18 14:31:16 UTC (rev 291484)
@@ -1,5 +1,16 @@
 2022-03-18  Philippe Normand  <[email protected]>
 
+        [GStreamer] Migrate gst-full support to 1.20
+        https://bugs.webkit.org/show_bug.cgi?id=237772
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        * platform/graphics/gstreamer/GStreamerCommon.cpp:
+        (WebCore::registerWebKitGStreamerElements): GStreamer 1.20 no longer requires manual
+        initialization of gst-full. It is done during the gst_init().
+
+2022-03-18  Philippe Normand  <[email protected]>
+
         [GStreamer] Initial import of the GstWebRTC backend
         https://bugs.webkit.org/show_bug.cgi?id=236540
 

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp (291483 => 291484)


--- trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp	2022-03-18 14:27:25 UTC (rev 291483)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp	2022-03-18 14:31:16 UTC (rev 291484)
@@ -41,10 +41,6 @@
 #include <wtf/glib/GUniquePtr.h>
 #include <wtf/glib/RunLoopSourcePriority.h>
 
-#if USE(GSTREAMER_FULL)
-#include <gst/gstinitstaticplugins.h>
-#endif
-
 #if USE(GSTREAMER_MPEGTS)
 #define GST_USE_UNSTABLE_API
 #include <gst/mpegts/mpegts.h>
@@ -310,9 +306,6 @@
 {
     static std::once_flag onceFlag;
     std::call_once(onceFlag, [] {
-#if USE(GSTREAMER_FULL)
-        gst_init_static_plugins();
-#endif
 
 #if ENABLE(ENCRYPTED_MEDIA) && ENABLE(THUNDER)
         if (!CDMFactoryThunder::singleton().supportedKeySystems().isEmpty()) {

Modified: trunk/Source/cmake/GStreamerChecks.cmake (291483 => 291484)


--- trunk/Source/cmake/GStreamerChecks.cmake	2022-03-18 14:27:25 UTC (rev 291483)
+++ trunk/Source/cmake/GStreamerChecks.cmake	2022-03-18 14:31:16 UTC (rev 291484)
@@ -12,7 +12,7 @@
 
     SET_AND_EXPOSE_TO_BUILD(USE_GSTREAMER TRUE)
       if (USE_GSTREAMER_FULL)
-          find_package(GStreamer 1.17.0 REQUIRED COMPONENTS full)
+          find_package(GStreamer 1.20.0 REQUIRED COMPONENTS full)
           if (NOT PC_GSTREAMER_FULL_FOUND)
               message(FATAL_ERROR "GStreamer static library libgstreamer-full-1.0 not found")
           else ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to