From: Jens Georg Date: Mon, 7 Nov 2011 07:56:27 +0000 (+0100) Subject: core: Only assume dynamic linking on missing src X-Git-Tag: RYGEL_0_13_0~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf434c05892cdcafde75be1ebb02445d7a100f3e;p=profile%2Fivi%2Frygel.git core: Only assume dynamic linking on missing src --- diff --git a/src/rygel/rygel-http-response.vala b/src/rygel/rygel-http-response.vala index 68c8acd..5ff2ec8 100644 --- a/src/rygel/rygel-http-response.vala +++ b/src/rygel/rygel-http-response.vala @@ -159,7 +159,7 @@ internal class Rygel.HTTPResponse : GLib.Object, Rygel.StateMachine { this.pipeline.add_many (src, sink); - if (src.numpads == 0) { + if (src.numsrcpads == 0) { // Seems source uses dynamic pads, link when pad available src.pad_added.connect (this.src_pad_added); } else {