rygel r405 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r405 - trunk/src/rygel
- Date: Mon, 29 Dec 2008 16:10:00 +0000 (UTC)
Author: zeeshanak
Date: Mon Dec 29 16:09:59 2008
New Revision: 405
URL: http://svn.gnome.org/viewvc/rygel?rev=405&view=rev
Log:
Ask for compatible pad rather than by name.
Modified:
trunk/src/rygel/rygel-gst-stream.vala
Modified: trunk/src/rygel/rygel-gst-stream.vala
==============================================================================
--- trunk/src/rygel/rygel-gst-stream.vala (original)
+++ trunk/src/rygel/rygel-gst-stream.vala Mon Dec 29 16:09:59 2008
@@ -98,9 +98,9 @@
sink.name);
}
- sink_pad = depay.get_static_pad ("sink");
+ sink_pad = depay.get_compatible_pad (src_pad, caps);
} else {
- sink_pad = sink.get_static_pad ("sink");
+ sink_pad = sink.get_compatible_pad (src_pad, caps);
}
if (src_pad.link (sink_pad) != PadLinkReturn.OK) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]