rygel r405 - trunk/src/rygel



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]