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:
Wim Taymans 2007-02-15 12:07:57 +00:00
parent a43d0f57eb
commit 6ed39cf7c7
3 changed files with 10 additions and 2 deletions

View file

@ -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>
* gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -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 */

View file

@ -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 */