[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 16:37:26 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 93aff184408c7cc06200a95098f876c6528da0f3
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Nov 29 14:29:00 2010 +0000
2010-11-29 Philippe Normand <pnormand at igalia.com>
Reviewed by Xan Lopez.
[GStreamer] take video sink ownership with gst_object API
https://bugs.webkit.org/show_bug.cgi?id=49011
Use gst_object_ref_sink instead of g_object_ref_sink to avoid
possible leaks.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 8f38852..37d4037 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-11-29 Philippe Normand <pnormand at igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GStreamer] take video sink ownership with gst_object API
+ https://bugs.webkit.org/show_bug.cgi?id=49011
+
+ Use gst_object_ref_sink instead of g_object_ref_sink to avoid
+ possible leaks.
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
+
2010-11-29 Jan Erik Hanssen <jhanssen at sencha.com>
Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp b/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
index db1658b..695d1f7 100644
--- a/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
+++ b/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
@@ -1415,7 +1415,7 @@ void MediaPlayerPrivateGStreamer::createGSTPlayBin()
GstElement* identity = gst_element_factory_make("identity", "videoValve");
// Take ownership.
- g_object_ref_sink(m_videoSinkBin);
+ gst_object_ref_sink(m_videoSinkBin);
// Build a new video sink consisting of a bin containing a tee
// (meant to distribute data to multiple video sinks) and our
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list