core: Width and height swapped
authorJens Georg <mail@jensge.org>
Sun, 30 Oct 2011 13:22:15 +0000 (14:22 +0100)
committerJens Georg <mail@jensge.org>
Sun, 30 Oct 2011 13:22:15 +0000 (14:22 +0100)
Width and height in MPEG-TS transcoder were swapped.

src/rygel/rygel-mp2ts-transcoder.vala

index 8cf7864..93bc793 100644 (file)
@@ -102,8 +102,8 @@ internal class Rygel.MP2TSTranscoder : Rygel.Transcoder {
                                              framerate);
         var restriction = "video/x-raw-yuv," +
                           framerate + "," +
-                          "width=%d,".printf (HEIGHT[this.profile]) +
-                          "height=%d".printf (WIDTH[this.profile]);
+                          "width=%d,".printf (WIDTH[this.profile]) +
+                          "height=%d".printf (HEIGHT[this.profile]);
 
         var video_restriction = Caps.from_string (restriction);