rygel r782 - trunk/src/rygel



Author: zeeshanak
Date: Wed Apr  1 21:56:38 2009
New Revision: 782
URL: http://svn.gnome.org/viewvc/rygel?rev=782&view=rev

Log:
Put the videorate element after videoscale.

Thanks Edward Hervey for pointing it out.

Modified:
   trunk/src/rygel/rygel-mp2ts-transcoder.vala

Modified: trunk/src/rygel/rygel-mp2ts-transcoder.vala
==============================================================================
--- trunk/src/rygel/rygel-mp2ts-transcoder.vala	(original)
+++ trunk/src/rygel/rygel-mp2ts-transcoder.vala	Wed Apr  1 21:56:38 2009
@@ -79,16 +79,16 @@
         var bin = new Bin ("video-encoder-bin");
         bin.add_many (videorate, videoscale, convert, encoder);
 
-        videorate.link_many (convert, videoscale);
+        convert.link_many (videoscale, videorate);
         var caps = new Caps.simple (
                                 "video/x-raw-yuv",
                                 "width", typeof (int), WIDTH[this.profile],
                                 "height", typeof (int), HEIGHT[this.profile],
                                 "framerate", typeof (Fraction), 30, 1,
                                 "pixel-aspect-ratio", typeof (Fraction), 1, 1);
-        videoscale.link_filtered (encoder, caps);
+        videorate.link_filtered (encoder, caps);
 
-        var pad = videorate.get_static_pad ("sink");
+        var pad = convert.get_static_pad ("sink");
         var ghost = new GhostPad (sink_pad_name, pad);
         bin.add_pad (ghost);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]