summaryrefslogtreecommitdiff
path: root/src/video_out
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-06-02 22:18:56 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-06-02 22:18:56 +0000
commit6a90ef1128ca51713804e94da00f9c3a7440ec16 (patch)
tree7334efc2d5286d3842c0256a26673a381c9514b2 /src/video_out
parent11de71b0938af5b027b78b0e0db9617ab22a319f (diff)
downloadxine-lib-6a90ef1128ca51713804e94da00f9c3a7440ec16.tar.gz
xine-lib-6a90ef1128ca51713804e94da00f9c3a7440ec16.tar.bz2
Various static/const fixes from Gentoo.
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
Diffstat (limited to 'src/video_out')
-rw-r--r--src/video_out/video_out_aa.c4
-rw-r--r--src/video_out/video_out_caca.c4
-rw-r--r--src/video_out/video_out_directfb.c4
-rwxr-xr-xsrc/video_out/video_out_directx.c4
-rw-r--r--src/video_out/video_out_fb.c4
-rw-r--r--src/video_out/video_out_macosx.m4
-rw-r--r--src/video_out/video_out_none.c4
-rw-r--r--src/video_out/video_out_opengl.c4
-rw-r--r--src/video_out/video_out_pgx32.c4
-rw-r--r--src/video_out/video_out_pgx64.c4
-rw-r--r--src/video_out/video_out_sdl.c4
-rw-r--r--src/video_out/video_out_stk.c4
-rw-r--r--src/video_out/video_out_syncfb.c4
-rw-r--r--src/video_out/video_out_vidix.c6
-rw-r--r--src/video_out/video_out_xshm.c4
-rw-r--r--src/video_out/video_out_xv.c4
-rw-r--r--src/video_out/video_out_xvmc.c4
-rw-r--r--src/video_out/video_out_xxmc.c4
18 files changed, 37 insertions, 37 deletions
diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c
index 4609d773b..14f051e4e 100644
--- a/src/video_out/video_out_aa.c
+++ b/src/video_out/video_out_aa.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_aa.c,v 1.47 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_aa.c,v 1.48 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_aa.c, ascii-art output plugin for xine
*
@@ -332,7 +332,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_aa = {
+static const vo_info_t vo_info_aa = {
6,
XINE_VISUAL_TYPE_AA
};
diff --git a/src/video_out/video_out_caca.c b/src/video_out/video_out_caca.c
index a8d9ca3c2..9b22bd254 100644
--- a/src/video_out/video_out_caca.c
+++ b/src/video_out/video_out_caca.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_caca.c,v 1.6 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_caca.c,v 1.7 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_caca.c, Color AsCii Art output plugin for xine
*
@@ -333,7 +333,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_caca = {
+static const vo_info_t vo_info_caca = {
6,
XINE_VISUAL_TYPE_CACA
};
diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c
index fc5a6cc78..3d0177f2f 100644
--- a/src/video_out/video_out_directfb.c
+++ b/src/video_out/video_out_directfb.c
@@ -1577,7 +1577,7 @@ static void *init_class_fb (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_directfb_fb = {
+static const vo_info_t vo_info_directfb_fb = {
8, /* priority */
XINE_VISUAL_TYPE_FB /* visual type */
};
@@ -1768,7 +1768,7 @@ static void *init_class_x11 (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_directfb_x11 = {
+static const vo_info_t vo_info_directfb_x11 = {
8, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
};
diff --git a/src/video_out/video_out_directx.c b/src/video_out/video_out_directx.c
index fe1cf9ef8..eef587aab 100755
--- a/src/video_out/video_out_directx.c
+++ b/src/video_out/video_out_directx.c
@@ -20,7 +20,7 @@
* video_out_directx.c, direct draw video output plugin for xine
* by Matthew Grooms <elon@altavista.com>
*
- * $Id: video_out_directx.c,v 1.29 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_directx.c,v 1.30 2006/06/02 22:18:58 dsalt Exp $
*/
typedef unsigned char boolean;
@@ -1264,7 +1264,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return directx;
}
-static vo_info_t vo_info_win32 = {
+static const vo_info_t vo_info_win32 = {
7, /* priority */
XINE_VISUAL_TYPE_DIRECTX /* visual type */
};
diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c
index b70bbd486..cfcaba890 100644
--- a/src/video_out/video_out_fb.c
+++ b/src/video_out/video_out_fb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_fb.c,v 1.46 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_fb.c,v 1.47 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_fb.c, frame buffer xine driver by Miguel Freitas
*
@@ -1122,7 +1122,7 @@ static void *fb_init_class(xine_t *xine, void *visual_gen)
return this;
}
-static vo_info_t vo_info_fb =
+static const vo_info_t vo_info_fb =
{
1, /* priority */
#ifdef USE_X11_VISUAL
diff --git a/src/video_out/video_out_macosx.m b/src/video_out/video_out_macosx.m
index 0149dfbc1..1a8fb821d 100644
--- a/src/video_out/video_out_macosx.m
+++ b/src/video_out/video_out_macosx.m
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_macosx.m,v 1.14 2005/11/14 12:34:46 valtri Exp $
+ * $Id: video_out_macosx.m,v 1.15 2006/06/02 22:18:58 dsalt Exp $
*
* This output driver makes use of xine's objective-c video_output
* classes located in the macosx folder.
@@ -372,7 +372,7 @@ static void *init_class (xine_t *xine, void *visual) {
return this;
}
-static vo_info_t vo_info_macosx = {
+static const vo_info_t vo_info_macosx = {
1, /* Priority */
XINE_VISUAL_TYPE_MACOSX /* Visual type */
};
diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c
index a4dab44c5..5b516117e 100644
--- a/src/video_out/video_out_none.c
+++ b/src/video_out/video_out_none.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_none.c,v 1.25 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_none.c,v 1.26 2006/06/02 22:18:58 dsalt Exp $
*
* Was originally part of toxine frontend.
* ...but has now been adapted to xine coding style standards ;)
@@ -301,7 +301,7 @@ static void *init_class (xine_t *xine, void *visual) {
return this;
}
-static vo_info_t vo_info_none = {
+static const vo_info_t vo_info_none = {
5, /* Priority */
XINE_VISUAL_TYPE_NONE /* Visual type */
};
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c
index f83d7a195..301c3587c 100644
--- a/src/video_out/video_out_opengl.c
+++ b/src/video_out/video_out_opengl.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_opengl.c,v 1.55 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_opengl.c,v 1.56 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_opengl.c, OpenGL based interface for xine
*
@@ -1982,7 +1982,7 @@ static void *opengl_init_class (xine_t *xine, void *visual_gen) {
}
-static vo_info_t vo_info_opengl = {
+static const vo_info_t vo_info_opengl = {
7, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
};
diff --git a/src/video_out/video_out_pgx32.c b/src/video_out/video_out_pgx32.c
index 07144b6f9..6e9a581b9 100644
--- a/src/video_out/video_out_pgx32.c
+++ b/src/video_out/video_out_pgx32.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_pgx32.c,v 1.15 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_pgx32.c,v 1.16 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_pgx32.c, Sun PGX32 output plugin for xine
*
@@ -793,7 +793,7 @@ static void pgx32_dispose_class(video_driver_class_t *class_gen)
free(class);
}
-static vo_info_t vo_info_pgx32 = {
+static const vo_info_t vo_info_pgx32 = {
10,
XINE_VISUAL_TYPE_X11
};
diff --git a/src/video_out/video_out_pgx64.c b/src/video_out/video_out_pgx64.c
index 61fb22aad..b242a83cc 100644
--- a/src/video_out/video_out_pgx64.c
+++ b/src/video_out/video_out_pgx64.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_pgx64.c,v 1.76 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_pgx64.c,v 1.77 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_pgx64.c, Sun XVR100/PGX64/PGX24 output plugin for xine
*
@@ -1343,7 +1343,7 @@ static void pgx64_dispose_class(video_driver_class_t *class_gen)
free(class);
}
-static vo_info_t vo_info_pgx64 = {
+static const vo_info_t vo_info_pgx64 = {
10,
XINE_VISUAL_TYPE_X11
};
diff --git a/src/video_out/video_out_sdl.c b/src/video_out/video_out_sdl.c
index 0d03a32f9..f6272a2c2 100644
--- a/src/video_out/video_out_sdl.c
+++ b/src/video_out/video_out_sdl.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_sdl.c,v 1.46 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_sdl.c,v 1.47 2006/06/02 22:18:58 dsalt Exp $
*
* video_out_sdl.c, Simple DirectMedia Layer
*
@@ -603,7 +603,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_sdl = {
+static const vo_info_t vo_info_sdl = {
4, /* priority */
XINE_VISUAL_TYPE_X11, /* visual type supported by this plugin */
};
diff --git a/src/video_out/video_out_stk.c b/src/video_out/video_out_stk.c
index 539bdbe2f..2d5e5a8dc 100644
--- a/src/video_out/video_out_stk.c
+++ b/src/video_out/video_out_stk.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_stk.c,v 1.17 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_stk.c,v 1.18 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_stk.c, Libstk Surface Video Driver
* more info on Libstk at http://www.libstk.org
@@ -479,7 +479,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
}
/* what priority should we be (what is low), what vistype should we declare ? */
-static vo_info_t vo_info_stk = {
+static const vo_info_t vo_info_stk = {
4, /* priority */
XINE_VISUAL_TYPE_FB, /* visual type supported by this plugin */
};
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index 8d462d86c..5db2ffc40 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_syncfb.c,v 1.103 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_syncfb.c,v 1.104 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine
*
@@ -1106,7 +1106,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_syncfb = {
+static const vo_info_t vo_info_syncfb = {
7, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
};
diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c
index 4dfcac101..0ae796af4 100644
--- a/src/video_out/video_out_vidix.c
+++ b/src/video_out/video_out_vidix.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_vidix.c,v 1.72 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_vidix.c,v 1.73 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_vidix.c
*
@@ -1218,7 +1218,7 @@ static void *vidix_init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_vidix = {
+static const vo_info_t vo_info_vidix = {
2, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
};
@@ -1300,7 +1300,7 @@ static void *vidixfb_init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_vidixfb = {
+static const vo_info_t vo_info_vidixfb = {
2, /* priority */
XINE_VISUAL_TYPE_FB /* visual type */
};
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index e4c6ec9f0..d28c2adc0 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xshm.c,v 1.143 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_xshm.c,v 1.144 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -1289,7 +1289,7 @@ static void *xshm_init_class (xine_t *xine, void *visual_gen) {
}
-static vo_info_t vo_info_xshm = {
+static const vo_info_t vo_info_xshm = {
6, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
};
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 82bb0c68c..8623e8c03 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xv.c,v 1.217 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_xv.c,v 1.218 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -1597,7 +1597,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_xv = {
+static const vo_info_t vo_info_xv = {
9, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
};
diff --git a/src/video_out/video_out_xvmc.c b/src/video_out/video_out_xvmc.c
index ebcadd347..41c157a15 100644
--- a/src/video_out/video_out_xvmc.c
+++ b/src/video_out/video_out_xvmc.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xvmc.c,v 1.26 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_xvmc.c,v 1.27 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_xvmc.c, X11 video motion compensation extension interface for xine
*
@@ -1786,7 +1786,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_xvmc = {
+static const vo_info_t vo_info_xvmc = {
/* priority must be low until it supports displaying non-accelerated stuff */
0, /* priority */
XINE_VISUAL_TYPE_X11 /* visual type */
diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c
index 7cfea5747..1e429e94a 100644
--- a/src/video_out/video_out_xxmc.c
+++ b/src/video_out/video_out_xxmc.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xxmc.c,v 1.20 2006/05/03 19:46:09 dsalt Exp $
+ * $Id: video_out_xxmc.c,v 1.21 2006/06/02 22:18:59 dsalt Exp $
*
* video_out_xxmc.c, X11 decoding accelerated video extension interface for xine
*
@@ -2633,7 +2633,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return this;
}
-static vo_info_t vo_info_xxmc = {
+static const vo_info_t vo_info_xxmc = {
/* keep priority lower than Xv for now. we may increase this
* when the xxmc driver is more mature/tested.
*/