Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unreviewed, GStreamer follow-up after r276493
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin): Remove spurious adoptGRef call, as
this is not transfer-full.

Canonical link: https://commits.webkit.org/236954@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
philn committed Apr 23, 2021
1 parent b63da47 commit c5eb83d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,11 @@
2021-04-23 Philippe Normand <pnormand@igalia.com>

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 <pnormand@igalia.com>

[Media] Allow access to MediaElement id from MediaPlayerPrivate
Expand Down
Expand Up @@ -2700,7 +2700,7 @@ void MediaPlayerPrivateGStreamer::createGSTPlayBin(const URL& url)

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);
Expand Down

0 comments on commit c5eb83d

Please sign in to comment.