[rygel/rygel-0-18] engine-gst: Fix obscure test failure
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-18] engine-gst: Fix obscure test failure
- Date: Mon, 13 May 2013 09:22:57 +0000 (UTC)
commit b7a805a8a80312b7bc109a70167cee04d347d032
Author: Jens Georg <jensg openismus com>
Date: Fri Apr 26 22:49:07 2013 +0200
engine-gst: Fix obscure test failure
Work-around https://bugzilla.gnome.org/show_bug.cgi?id=698997
src/media-engines/gstreamer/rygel-gst-sink.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/media-engines/gstreamer/rygel-gst-sink.vala b/src/media-engines/gstreamer/rygel-gst-sink.vala
index 132181e..acdaefe 100644
--- a/src/media-engines/gstreamer/rygel-gst-sink.vala
+++ b/src/media-engines/gstreamer/rygel-gst-sink.vala
@@ -132,7 +132,9 @@ internal class Rygel.GstSink : Sink {
buffer.map (out info, MapFlags.READ);
- this.source.data_available (info.data[0:to_send]);
+ unowned uint8[] tmp = info.data[0:to_send];
+
+ this.source.data_available (tmp);
this.bytes_sent += to_send;
buffer.unmap (info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]