[rygel] core: Width and height swapped



commit bb4f4a2aa12234a2b4bc76ceb8f4bc4d2f1fdcc4
Author: Jens Georg <mail jensge org>
Date:   Sun Oct 30 14:22:15 2011 +0100

    core: Width and height swapped
    
    Width and height in MPEG-TS transcoder were swapped.

 src/rygel/rygel-mp2ts-transcoder.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-mp2ts-transcoder.vala b/src/rygel/rygel-mp2ts-transcoder.vala
index 8cf7864..93bc793 100644
--- a/src/rygel/rygel-mp2ts-transcoder.vala
+++ b/src/rygel/rygel-mp2ts-transcoder.vala
@@ -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);
 



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