rygel r674 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r674 - trunk/src/rygel
- Date: Sun, 15 Mar 2009 19:02:31 +0000 (UTC)
Author: zeeshanak
Date: Sun Mar 15 19:02:31 2009
New Revision: 674
URL: http://svn.gnome.org/viewvc/rygel?rev=674&view=rev
Log:
Ghost audio encoder's src pad as well.
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:31 2009
@@ -117,9 +117,13 @@
var filter = Caps.from_string ("audio/x-raw-int");
convert.link_filtered (encoder, filter);
- var sink_pad = convert.get_static_pad ("sink");
- var ghost = new GhostPad (null, sink_pad);
- this.add_pad (ghost);
+ var pad = convert.get_static_pad ("sink");
+ var ghost = new GhostPad (null, pad);
+ this.add_pad (ghost);
+
+ pad = encoder.get_static_pad ("src");
+ ghost = new GhostPad (null, pad);
+ this.add_pad (ghost);
return bin;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]