From: Jens Georg Date: Mon, 30 Jan 2012 19:58:10 +0000 (+0100) Subject: gst-launch: Sink element returned from parse_bin X-Git-Tag: RYGEL_0_13_1~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd54b11a9244f49ef434e75aa856550aaf4424f6;p=profile%2Fivi%2Frygel.git gst-launch: Sink element returned from parse_bin Work around bgo#669060 with valac >= 0.15.1 --- diff --git a/src/rygel/rygel-http-identity-handler.vala b/src/rygel/rygel-http-identity-handler.vala index 0a451ac..0981bd0 100644 --- a/src/rygel/rygel-http-identity-handler.vala +++ b/src/rygel/rygel-http-identity-handler.vala @@ -83,6 +83,9 @@ internal class Rygel.HTTPIdentityHandler : Rygel.HTTPGetHandler { } else { src = request.item.create_stream_source (request.http_server.context.host_ip); + if (src.is_floating ()) { + src.ref_sink (); + } } if (src == null) {