From 6ed39cf7c75f84de38815a75af934a74e86cb67e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 15 Feb 2007 12:07:57 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ sys/ximage/ximagesink.c | 2 +- sys/xvimage/xvimagesink.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d892a2c6de..83f25cea73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-02-15 Wim Taymans + + * 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 * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 5e81ff6577..38f367b794 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1039,7 +1039,7 @@ gst_ximagesink_event_thread (GstXImageSink * ximagesink) static void gst_ximagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext) { - gint par[][2] = { + static const gint par[][2] = { {1, 1}, /* regular screen */ {16, 15}, /* PAL TV */ {11, 10}, /* 525 line Rec.601 video */ diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index d6dcfcc4de..8b59f34425 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1459,7 +1459,7 @@ gst_xvimagesink_event_thread (GstXvImageSink * xvimagesink) static void gst_xvimagesink_calculate_pixel_aspect_ratio (GstXContext * xcontext) { - gint par[][2] = { + static const gint par[][2] = { {1, 1}, /* regular screen */ {16, 15}, /* PAL TV */ {11, 10}, /* 525 line Rec.601 video */