Title: [276495] trunk/Source/WebCore
Revision
276495
Author
[email protected]
Date
2021-04-23 06:29:26 -0700 (Fri, 23 Apr 2021)

Log Message

Unreviewed, GStreamer follow-up after r276493

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin): Remove spurious adoptGRef call, as
this is not transfer-full.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (276494 => 276495)


--- trunk/Source/WebCore/ChangeLog	2021-04-23 13:17:06 UTC (rev 276494)
+++ trunk/Source/WebCore/ChangeLog	2021-04-23 13:29:26 UTC (rev 276495)
@@ -1,5 +1,13 @@
 2021-04-23  Philippe Normand  <[email protected]>
 
+        Unreviewed, GStreamer follow-up after r276493
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin): Remove spurious adoptGRef call, as
+        this is not transfer-full.
+
+2021-04-23  Philippe Normand  <[email protected]>
+
         [Media] Allow access to MediaElement id from MediaPlayerPrivate
         https://bugs.webkit.org/show_bug.cgi?id=224818
 

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (276494 => 276495)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2021-04-23 13:17:06 UTC (rev 276494)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2021-04-23 13:29:26 UTC (rev 276495)
@@ -2700,7 +2700,7 @@
 
     static Atomic<uint32_t> pipelineId;
 
-    m_pipeline = adoptGRef(gst_element_factory_make(playbinName, makeString(type, elementId, '-', pipelineId.exchangeAdd(1)).ascii().data()));
+    m_pipeline = gst_element_factory_make(playbinName, makeString(type, elementId, '-', pipelineId.exchangeAdd(1)).ascii().data());
     if (!m_pipeline) {
         GST_WARNING("%s not found, make sure to install gst-plugins-base", playbinName);
         loadingFailed(MediaPlayer::NetworkState::FormatError, MediaPlayer::ReadyState::HaveNothing, true);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to