rygel r668 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r668 - trunk/src/rygel
- Date: Sun, 15 Mar 2009 19:02:00 +0000 (UTC)
Author: zeeshanak
Date: Sun Mar 15 19:02:00 2009
New Revision: 668
URL: http://svn.gnome.org/viewvc/rygel?rev=668&view=rev
Log:
Link the pads after their parents are in the same bin.
Modified:
trunk/src/rygel/rygel-transcode-src.vala
Modified: trunk/src/rygel/rygel-transcode-src.vala
==============================================================================
--- trunk/src/rygel/rygel-transcode-src.vala (original)
+++ trunk/src/rygel/rygel-transcode-src.vala Sun Mar 15 19:02:00 2009
@@ -83,6 +83,11 @@
return;
}
+ var encoder = enc_pad.get_parent_element ();
+
+ this.add_many (encoder);
+ encoder.link (this.muxer);
+
if (new_pad.link (enc_pad) != PadLinkReturn.OK) {
this.post_error (new LiveResponseError.LINK (
"Failed to link pad %s to %s",
@@ -91,10 +96,6 @@
return;
}
- var encoder = enc_pad.get_parent_element ();
-
- this.add_many (encoder);
- encoder.link (this.muxer);
encoder.sync_state_with_parent ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]