sys/: Handle some more cases of pixel aspect ratio.
authorJulien Moutte <julien@moutte.net>
Thu, 26 Jan 2006 19:17:38 +0000 (19:17 +0000)
committerJulien Moutte <julien@moutte.net>
Thu, 26 Jan 2006 19:17:38 +0000 (19:17 +0000)
Original commit message from CVS:
2006-01-26  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c:
(gst_ximagesink_calculate_pixel_aspect_ratio):
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_calculate_pixel_aspect_ratio): Handle some
more cases of pixel aspect ratio.

ChangeLog
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c

index 40c887ab6be08fe06a67ca730dbd5ff3c87e8d10..73bb54e9e7eb6b5b7572a97b816a0ad82f91083e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-01-26  Julien MOUTTE  <julien@moutte.net>
+
+       * sys/ximage/ximagesink.c:
+       (gst_ximagesink_calculate_pixel_aspect_ratio):
+       * sys/xvimage/xvimagesink.c:
+       (gst_xvimagesink_calculate_pixel_aspect_ratio): Handle some
+       more cases of pixel aspect ratio.
+
 2006-01-26  Edward Hervey  <edward@fluendo.com>
 
        * gst/playback/gstdecodebin.c: (pad_probe):
index f0be51c3f04bcd4f6ec3045cda79571ce8069edc..3fa3be29407ad2a65f261daad0f00a8d542d2458 100644 (file)
@@ -925,7 +925,10 @@ gst_ximagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext)
     {1, 1},                     /* regular screen */
     {16, 15},                   /* PAL TV */
     {11, 10},                   /* 525 line Rec.601 video */
-    {54, 59}                    /* 625 line Rec.601 video */
+    {54, 59},                   /* 625 line Rec.601 video */
+    {64, 45},                   /* 1280x1024 on 16:9 display */
+    {5, 3},                     /* 1280x1024 on 4:3 display */
+    {4, 3}                      /*  800x600 on 16:9 display */
   };
   gint i;
   gint index;
index b884849cd022a1d12ef14f7e9883b48b43569cc3..ba88508052fecff65186f10c875e436fdbc5ebe6 100644 (file)
@@ -1184,7 +1184,10 @@ gst_xvimagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext)
     {1, 1},                     /* regular screen */
     {16, 15},                   /* PAL TV */
     {11, 10},                   /* 525 line Rec.601 video */
-    {54, 59}                    /* 625 line Rec.601 video */
+    {54, 59},                   /* 625 line Rec.601 video */
+    {64, 45},                   /* 1280x1024 on 16:9 display */
+    {5, 3},                     /* 1280x1024 on 4:3 display */
+    {4, 3}                      /*  800x600 on 16:9 display */
   };
   gint i;
   gint index;