mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
sys/: Small constifications.
Original commit message from CVS: * sys/ximage/ximagesink.c: (gst_ximagesink_calculate_pixel_aspect_ratio): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_calculate_pixel_aspect_ratio): Small constifications.
This commit is contained in:
parent
a43d0f57eb
commit
6ed39cf7c7
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-02-15 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* sys/ximage/ximagesink.c:
|
||||||
|
(gst_ximagesink_calculate_pixel_aspect_ratio):
|
||||||
|
* sys/xvimage/xvimagesink.c:
|
||||||
|
(gst_xvimagesink_calculate_pixel_aspect_ratio):
|
||||||
|
Small constifications.
|
||||||
|
|
||||||
2007-02-15 Wim Taymans <wim@fluendo.com>
|
2007-02-15 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||||
|
|
|
@ -1039,7 +1039,7 @@ gst_ximagesink_event_thread (GstXImageSink * ximagesink)
|
||||||
static void
|
static void
|
||||||
gst_ximagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext)
|
gst_ximagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext)
|
||||||
{
|
{
|
||||||
gint par[][2] = {
|
static const gint par[][2] = {
|
||||||
{1, 1}, /* regular screen */
|
{1, 1}, /* regular screen */
|
||||||
{16, 15}, /* PAL TV */
|
{16, 15}, /* PAL TV */
|
||||||
{11, 10}, /* 525 line Rec.601 video */
|
{11, 10}, /* 525 line Rec.601 video */
|
||||||
|
|
|
@ -1459,7 +1459,7 @@ gst_xvimagesink_event_thread (GstXvImageSink * xvimagesink)
|
||||||
static void
|
static void
|
||||||
gst_xvimagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext)
|
gst_xvimagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext)
|
||||||
{
|
{
|
||||||
gint par[][2] = {
|
static const gint par[][2] = {
|
||||||
{1, 1}, /* regular screen */
|
{1, 1}, /* regular screen */
|
||||||
{16, 15}, /* PAL TV */
|
{16, 15}, /* PAL TV */
|
||||||
{11, 10}, /* 525 line Rec.601 video */
|
{11, 10}, /* 525 line Rec.601 video */
|
||||||
|
|
Loading…
Reference in a new issue