mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
sys/: Handle some more cases of pixel aspect ratio.
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.
This commit is contained in:
parent
efd9da3dd0
commit
d1a56c2cb2
3 changed files with 16 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue