[oe-commits] ghost : packages/gstreamer: hotfix for refcounting problem ( not from gstreamer team)
git version control
git at git.openembedded.org
Mon Aug 24 13:17:50 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: bae63090c4953f6830013be40935745d4d090655
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bae63090c4953f6830013be40935745d4d090655
Author: ghost <andreas.monzner at multimedia-labs.de>
Date: Mon Aug 24 14:48:19 2009 +0200
packages/gstreamer: hotfix for refcounting problem (not from gstreamer team)
---
.../files/playsink_fix_double_refcount.patch | 16 ++++++++++++++++
packages/gstreamer/gst-plugins-base_0.10.24.bb | 5 +++--
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/packages/gstreamer/files/playsink_fix_double_refcount.patch b/packages/gstreamer/files/playsink_fix_double_refcount.patch
new file mode 100644
index 0000000..5221b9f
--- /dev/null
+++ b/packages/gstreamer/files/playsink_fix_double_refcount.patch
@@ -0,0 +1,16 @@
+--- gst-plugins-base-0.10.24.org/gst/playback/gstplaysink.c 2009-07-14 12:03:45.000000000 +0200
++++ gst-plugins-base-0.10.24/gst/playback/gstplaysink.c 2009-08-24 14:42:32.000000000 +0200
+@@ -418,11 +418,11 @@
+ }
+ if (chainp) {
+ /* we have an active chain with a sink, get the sink */
+- result = gst_object_ref (chainp);
++ result = chainp;
+ }
+ /* nothing found, return last configured sink */
+ if (result == NULL && elem)
+- result = gst_object_ref (elem);
++ result = elem;
+ GST_PLAY_SINK_UNLOCK (playsink);
+
+ return result;
diff --git a/packages/gstreamer/gst-plugins-base_0.10.24.bb b/packages/gstreamer/gst-plugins-base_0.10.24.bb
index 8da04b9..4aa4f0f 100644
--- a/packages/gstreamer/gst-plugins-base_0.10.24.bb
+++ b/packages/gstreamer/gst-plugins-base_0.10.24.bb
@@ -3,6 +3,7 @@ PROVIDES_${PN} += "gst-plugins"
RCONFLICTS_gst-plugins-base = "libgstapp-0.10-0"
RREPLACES_gst-plugins-base = "libgstapp-0.10-0"
EXTRA_OECONF += "--with-audioresample-format=int"
-PR = "r1"
+PR = "r2"
SRC_URI += "file://gst-plugins_configure_skip_shave.patch;patch=1;pnum=0 \
-file://playsink-textsink.diff;patch=1;pnum=1"
+ file://playsink-textsink.diff;patch=1;pnum=1 \
+ file://playsink_fix_double_refcount.patch;patch=1;pnum=1"
\ No newline at end of file
More information about the Openembedded-commits
mailing list