[MPlayer-cvslog] r25244 - in trunk/libvo: video_out.h vo_3dfx.c vo_aa.c vo_bl.c vo_caca.c vo_cvidix.c vo_dfbmga.c vo_dga.c vo_directfb2.c vo_directx.c vo_dxr2.c vo_dxr3.c vo_fbdev.c vo_fbdev2.c vo_ggi.c vo_gif89a.c vo_gl.c vo_gl2.c vo_ivtv.c vo_jpeg.c vo_md5sum.c vo_mga.c vo_mpegpes.c vo_null.c vo_png.c vo_pnm.c vo_quartz.c vo_s3fb.c vo_sdl.c vo_svga.c vo_tdfx_vid.c vo_tdfxfb.c vo_tga.c vo_v4l2.c vo_vesa.c vo_winvidix.c vo_x11.c vo_xmga.c vo_xover.c vo_xv.c vo_xvidix.c vo_xvmc.c vo_xvr100.c vo_yuv4mpeg.c vo_zr.c vo_zr2.c
reimar
subversion at mplayerhq.hu
Sun Dec 2 15:06:03 CET 2007
Author: reimar
Date: Sun Dec 2 15:06:03 2007
New Revision: 25244
Log:
Make vo info structs const
Modified:
trunk/libvo/video_out.h
trunk/libvo/vo_3dfx.c
trunk/libvo/vo_aa.c
trunk/libvo/vo_bl.c
trunk/libvo/vo_caca.c
trunk/libvo/vo_cvidix.c
trunk/libvo/vo_dfbmga.c
trunk/libvo/vo_dga.c
trunk/libvo/vo_directfb2.c
trunk/libvo/vo_directx.c
trunk/libvo/vo_dxr2.c
trunk/libvo/vo_dxr3.c
trunk/libvo/vo_fbdev.c
trunk/libvo/vo_fbdev2.c
trunk/libvo/vo_ggi.c
trunk/libvo/vo_gif89a.c
trunk/libvo/vo_gl.c
trunk/libvo/vo_gl2.c
trunk/libvo/vo_ivtv.c
trunk/libvo/vo_jpeg.c
trunk/libvo/vo_md5sum.c
trunk/libvo/vo_mga.c
trunk/libvo/vo_mpegpes.c
trunk/libvo/vo_null.c
trunk/libvo/vo_png.c
trunk/libvo/vo_pnm.c
trunk/libvo/vo_quartz.c
trunk/libvo/vo_s3fb.c
trunk/libvo/vo_sdl.c
trunk/libvo/vo_svga.c
trunk/libvo/vo_tdfx_vid.c
trunk/libvo/vo_tdfxfb.c
trunk/libvo/vo_tga.c
trunk/libvo/vo_v4l2.c
trunk/libvo/vo_vesa.c
trunk/libvo/vo_winvidix.c
trunk/libvo/vo_x11.c
trunk/libvo/vo_xmga.c
trunk/libvo/vo_xover.c
trunk/libvo/vo_xv.c
trunk/libvo/vo_xvidix.c
trunk/libvo/vo_xvmc.c
trunk/libvo/vo_xvr100.c
trunk/libvo/vo_yuv4mpeg.c
trunk/libvo/vo_zr.c
trunk/libvo/vo_zr2.c
Modified: trunk/libvo/video_out.h
==============================================================================
--- trunk/libvo/video_out.h (original)
+++ trunk/libvo/video_out.h Sun Dec 2 15:06:03 2007
@@ -110,7 +110,7 @@ typedef struct vo_info_s
typedef struct vo_functions_s
{
- vo_info_t *info;
+ const vo_info_t *info;
/*
* Preinitializes driver (real INITIALIZATION)
* arg - currently it's vo_subdevice
Modified: trunk/libvo/vo_3dfx.c
==============================================================================
--- trunk/libvo/vo_3dfx.c (original)
+++ trunk/libvo/vo_3dfx.c Sun Dec 2 15:06:03 2007
@@ -51,7 +51,7 @@
#include "fastmemcpy.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"3dfx (/dev/3dfx)",
"3dfx",
Modified: trunk/libvo/vo_aa.c
==============================================================================
--- trunk/libvo/vo_aa.c (original)
+++ trunk/libvo/vo_aa.c Sun Dec 2 15:06:03 2007
@@ -44,7 +44,7 @@
#define MESSAGE_SIZE 512
#define MESSAGE_DEKO " +++ %s +++ "
- static vo_info_t info = {
+ static const vo_info_t info = {
"AAlib",
"aa",
"Alban Bedel <albeu at free.fr> and Folke Ashberg <folke at ashberg.de>",
Modified: trunk/libvo/vo_bl.c
==============================================================================
--- trunk/libvo/vo_bl.c (original)
+++ trunk/libvo/vo_bl.c Sun Dec 2 15:06:03 2007
@@ -47,7 +47,7 @@
#include "m_option.h"
#include "fastmemcpy.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"Blinkenlights driver: http://www.blinkenlights.de",
"bl",
Modified: trunk/libvo/vo_caca.c
==============================================================================
--- trunk/libvo/vo_caca.c (original)
+++ trunk/libvo/vo_caca.c Sun Dec 2 15:06:03 2007
@@ -38,7 +38,7 @@
#include <caca0.h>
#endif
-static vo_info_t info = {
+static const vo_info_t info = {
"libcaca",
"caca",
"Pigeon <pigeon at pigeond.net>",
Modified: trunk/libvo/vo_cvidix.c
==============================================================================
--- trunk/libvo/vo_cvidix.c (original)
+++ trunk/libvo/vo_cvidix.c Sun Dec 2 15:06:03 2007
@@ -26,7 +26,7 @@
#include "vidix/vidixlib.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"console VIDIX",
"cvidix",
"Sascha Sommer",
Modified: trunk/libvo/vo_dfbmga.c
==============================================================================
--- trunk/libvo/vo_dfbmga.c (original)
+++ trunk/libvo/vo_dfbmga.c Sun Dec 2 15:06:03 2007
@@ -41,7 +41,7 @@
#include "aspect.h"
#include "mp_fifo.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"DirectFB / Matrox G200/G400/G450/G550",
"dfbmga",
"Ville Syrjala <syrjala at sci.fi>",
Modified: trunk/libvo/vo_dga.c
==============================================================================
--- trunk/libvo/vo_dga.c (original)
+++ trunk/libvo/vo_dga.c Sun Dec 2 15:06:03 2007
@@ -30,7 +30,7 @@
#include <X11/extensions/xf86vmode.h>
#endif
-static vo_info_t info = {
+static const vo_info_t info = {
#ifdef HAVE_DGA2
"DGA ( Direct Graphic Access V2.0 )",
#else
Modified: trunk/libvo/vo_directfb2.c
==============================================================================
--- trunk/libvo/vo_directfb2.c (original)
+++ trunk/libvo/vo_directfb2.c Sun Dec 2 15:06:03 2007
@@ -58,7 +58,7 @@
#define TRIPLE 1
#endif
-static vo_info_t info = {
+static const vo_info_t info = {
"Direct Framebuffer Device",
"directfb",
"Jiri Svoboda Jiri.Svoboda at seznam.cz",
Modified: trunk/libvo/vo_directx.c
==============================================================================
--- trunk/libvo/vo_directx.c (original)
+++ trunk/libvo/vo_directx.c Sun Dec 2 15:06:03 2007
@@ -135,7 +135,7 @@ static directx_fourcc_caps g_ddpf[] =
};
#define NUM_FORMATS (sizeof(g_ddpf) / sizeof(g_ddpf[0]))
-static vo_info_t info =
+static const vo_info_t info =
{
"Directx DDraw YUV/RGB/BGR renderer",
"directx",
Modified: trunk/libvo/vo_dxr2.c
==============================================================================
--- trunk/libvo/vo_dxr2.c (original)
+++ trunk/libvo/vo_dxr2.c Sun Dec 2 15:06:03 2007
@@ -132,7 +132,7 @@ m_option_t dxr2_opts[] = {
{ NULL,NULL, 0, 0, 0, 0, NULL}
};
-static vo_info_t info = {
+static const vo_info_t info = {
"DXR2 video out",
"dxr2",
"Alban Bedel <albeu at free.fr> and Tobias Diedrich <ranma at gmx.at>",
Modified: trunk/libvo/vo_dxr3.c
==============================================================================
--- trunk/libvo/vo_dxr3.c (original)
+++ trunk/libvo/vo_dxr3.c Sun Dec 2 15:06:03 2007
@@ -152,7 +152,7 @@
#define SPU_SUPPORT
-static vo_info_t info =
+static const vo_info_t info =
{
"DXR3/H+ video out",
"dxr3",
Modified: trunk/libvo/vo_fbdev.c
==============================================================================
--- trunk/libvo/vo_fbdev.c (original)
+++ trunk/libvo/vo_fbdev.c Sun Dec 2 15:06:03 2007
@@ -31,7 +31,7 @@
#include "aspect.h"
#include "mp_msg.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"Framebuffer Device",
"fbdev",
"Szabolcs Berecz <szabi at inf.elte.hu>",
Modified: trunk/libvo/vo_fbdev2.c
==============================================================================
--- trunk/libvo/vo_fbdev2.c (original)
+++ trunk/libvo/vo_fbdev2.c Sun Dec 2 15:06:03 2007
@@ -22,7 +22,7 @@
#include "sub.h"
#include "mp_msg.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"Framebuffer Device",
"fbdev2",
"Joey Parrish <joey at nicewarrior.org>",
Modified: trunk/libvo/vo_ggi.c
==============================================================================
--- trunk/libvo/vo_ggi.c (original)
+++ trunk/libvo/vo_ggi.c Sun Dec 2 15:06:03 2007
@@ -36,7 +36,7 @@
/* maximum buffers */
#undef GGI_FLIP
-static vo_info_t info =
+static const vo_info_t info =
{
"General Graphics Interface (GGI) output",
"ggi",
Modified: trunk/libvo/vo_gif89a.c
==============================================================================
--- trunk/libvo/vo_gif89a.c (original)
+++ trunk/libvo/vo_gif89a.c Sun Dec 2 15:06:03 2007
@@ -61,7 +61,7 @@
#define MPLAYER_VERSION 0.90
#define VO_GIF_REVISION 6
-static vo_info_t info = {
+static const vo_info_t info = {
"animated GIF output",
"gif89a",
"Joey Parrish joey at nicewarrior.org",
Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c (original)
+++ trunk/libvo/vo_gl.c Sun Dec 2 15:06:03 2007
@@ -19,7 +19,7 @@
#include "libass/ass.h"
#include "libass/ass_mp.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"X11 (OpenGL)",
"gl",
Modified: trunk/libvo/vo_gl2.c
==============================================================================
--- trunk/libvo/vo_gl2.c (original)
+++ trunk/libvo/vo_gl2.c Sun Dec 2 15:06:03 2007
@@ -33,7 +33,7 @@
#define TEXTURE_WIDTH 128
#undef TEXTURE_WIDTH
-static vo_info_t info =
+static const vo_info_t info =
{
"X11 (OpenGL) - multiple textures version",
"gl2",
Modified: trunk/libvo/vo_ivtv.c
==============================================================================
--- trunk/libvo/vo_ivtv.c (original)
+++ trunk/libvo/vo_ivtv.c Sun Dec 2 15:06:03 2007
@@ -62,7 +62,7 @@ static opt_t subopts[] = {
{NULL}
};
-static vo_info_t info =
+static const vo_info_t info =
{
"IVTV MPEG Video Decoder TV-Out",
"ivtv",
Modified: trunk/libvo/vo_jpeg.c
==============================================================================
--- trunk/libvo/vo_jpeg.c (original)
+++ trunk/libvo/vo_jpeg.c Sun Dec 2 15:06:03 2007
@@ -59,7 +59,7 @@
/* Info */
-static vo_info_t info=
+static const vo_info_t info=
{
"JPEG file",
"jpeg",
Modified: trunk/libvo/vo_md5sum.c
==============================================================================
--- trunk/libvo/vo_md5sum.c (original)
+++ trunk/libvo/vo_md5sum.c Sun Dec 2 15:06:03 2007
@@ -58,7 +58,7 @@
/* Info */
-static vo_info_t info=
+static const vo_info_t info=
{
"md5sum of each frame",
"md5sum",
Modified: trunk/libvo/vo_mga.c
==============================================================================
--- trunk/libvo/vo_mga.c (original)
+++ trunk/libvo/vo_mga.c Sun Dec 2 15:06:03 2007
@@ -22,7 +22,7 @@
#include "sub.h"
#include "aspect.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"Matrox G200/G4x0/G550 overlay (/dev/mga_vid)",
"mga",
Modified: trunk/libvo/vo_mpegpes.c
==============================================================================
--- trunk/libvo/vo_mpegpes.c (original)
+++ trunk/libvo/vo_mpegpes.c Sun Dec 2 15:06:03 2007
@@ -64,7 +64,7 @@
int vo_mpegpes_fd=-1;
extern int vo_mpegpes_fd2;
-static vo_info_t info =
+static const vo_info_t info =
{
#ifdef HAVE_DVB
"Mpeg-PES to DVB card",
Modified: trunk/libvo/vo_null.c
==============================================================================
--- trunk/libvo/vo_null.c (original)
+++ trunk/libvo/vo_null.c Sun Dec 2 15:06:03 2007
@@ -30,7 +30,7 @@
#include "video_out.h"
#include "video_out_internal.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"Null video output",
"null",
Modified: trunk/libvo/vo_png.c
==============================================================================
--- trunk/libvo/vo_png.c (original)
+++ trunk/libvo/vo_png.c Sun Dec 2 15:06:03 2007
@@ -22,7 +22,7 @@
#include "video_out_internal.h"
#include "subopt-helper.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"PNG file",
"png",
Modified: trunk/libvo/vo_pnm.c
==============================================================================
--- trunk/libvo/vo_pnm.c (original)
+++ trunk/libvo/vo_pnm.c Sun Dec 2 15:06:03 2007
@@ -65,7 +65,7 @@
/* Info */
-static vo_info_t info=
+static const vo_info_t info=
{
"PPM/PGM/PGMYUV file",
"pnm",
Modified: trunk/libvo/vo_quartz.c
==============================================================================
--- trunk/libvo/vo_quartz.c (original)
+++ trunk/libvo/vo_quartz.c Sun Dec 2 15:06:03 2007
@@ -38,7 +38,7 @@
#include "vo_quartz.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"Mac OSX (Quartz)",
"quartz",
Modified: trunk/libvo/vo_s3fb.c
==============================================================================
--- trunk/libvo/vo_s3fb.c (original)
+++ trunk/libvo/vo_s3fb.c Sun Dec 2 15:06:03 2007
@@ -29,7 +29,7 @@
#include "aspect.h"
#include "sub.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"S3 Virge over fbdev",
"s3fb",
Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c (original)
+++ trunk/libvo/vo_sdl.c Sun Dec 2 15:06:03 2007
@@ -126,7 +126,7 @@
#include "subopt-helper.h"
#include "mp_fifo.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)",
"sdl",
Modified: trunk/libvo/vo_svga.c
==============================================================================
--- trunk/libvo/vo_svga.c (original)
+++ trunk/libvo/vo_svga.c Sun Dec 2 15:06:03 2007
@@ -92,7 +92,7 @@ static struct {
int locks;
}PageStore[MAXPAGES];
-static vo_info_t info = {
+static const vo_info_t info = {
"SVGAlib",
"svga",
"Ivan Kalvachev <iive at users.sf.net>",
Modified: trunk/libvo/vo_tdfx_vid.c
==============================================================================
--- trunk/libvo/vo_tdfx_vid.c (original)
+++ trunk/libvo/vo_tdfx_vid.c Sun Dec 2 15:06:03 2007
@@ -41,7 +41,7 @@
#include "drivers/tdfx_vid.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"tdfx vid",
"tdfx_vid",
Modified: trunk/libvo/vo_tdfxfb.c
==============================================================================
--- trunk/libvo/vo_tdfxfb.c (original)
+++ trunk/libvo/vo_tdfxfb.c Sun Dec 2 15:06:03 2007
@@ -47,7 +47,7 @@
#include "aspect.h"
#include "sub.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"3Dfx Banshee/Voodoo3/Voodoo5",
"tdfxfb",
Modified: trunk/libvo/vo_tga.c
==============================================================================
--- trunk/libvo/vo_tga.c (original)
+++ trunk/libvo/vo_tga.c Sun Dec 2 15:06:03 2007
@@ -37,7 +37,7 @@
#include "video_out.h"
#include "video_out_internal.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"Targa output",
"tga",
Modified: trunk/libvo/vo_v4l2.c
==============================================================================
--- trunk/libvo/vo_v4l2.c (original)
+++ trunk/libvo/vo_v4l2.c Sun Dec 2 15:06:03 2007
@@ -56,7 +56,7 @@ static opt_t subopts[] = {
{NULL}
};
-static vo_info_t info =
+static const vo_info_t info =
{
"V4L2 MPEG Video Decoder Output",
"v4l2",
Modified: trunk/libvo/vo_vesa.c
==============================================================================
--- trunk/libvo/vo_vesa.c (original)
+++ trunk/libvo/vo_vesa.c Sun Dec 2 15:06:03 2007
@@ -67,7 +67,7 @@ extern char *monitor_dotclock_str;
#define UNUSED(x) ((void)(x)) /**< Removes warning about unused arguments */
-static vo_info_t info =
+static const vo_info_t info =
{
"VESA VBE 2.0 video output",
"vesa",
Modified: trunk/libvo/vo_winvidix.c
==============================================================================
--- trunk/libvo/vo_winvidix.c (original)
+++ trunk/libvo/vo_winvidix.c Sun Dec 2 15:06:03 2007
@@ -28,7 +28,7 @@
#include "vidix/vidixlib.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"WIN32 (VIDIX)",
"winvidix",
Modified: trunk/libvo/vo_x11.c
==============================================================================
--- trunk/libvo/vo_x11.c (original)
+++ trunk/libvo/vo_x11.c Sun Dec 2 15:06:03 2007
@@ -50,7 +50,7 @@ int XShmGetEventBase(Display *);
#include "mplayer.h"
#endif
-static vo_info_t info = {
+static const vo_info_t info = {
"X11 ( XImage/Shm )",
"x11",
"Aaron Holtzman <aholtzma at ess.engr.uvic.ca>",
Modified: trunk/libvo/vo_xmga.c
==============================================================================
--- trunk/libvo/vo_xmga.c (original)
+++ trunk/libvo/vo_xmga.c Sun Dec 2 15:06:03 2007
@@ -47,7 +47,7 @@ static unsigned int timerd = 0;
#include "gui/interface.h"
#endif
-static vo_info_t info = {
+static const vo_info_t info = {
"Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)",
"xmga",
"Zoltan Ponekker <pontscho at makacs.poliod.hu>",
Modified: trunk/libvo/vo_xover.c
==============================================================================
--- trunk/libvo/vo_xover.c (original)
+++ trunk/libvo/vo_xover.c Sun Dec 2 15:06:03 2007
@@ -37,7 +37,7 @@
#endif
-static vo_info_t info =
+static const vo_info_t info =
{
"General X11 driver for overlay capable video output drivers",
"xover",
Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c (original)
+++ trunk/libvo/vo_xv.c Sun Dec 2 15:06:03 2007
@@ -47,7 +47,7 @@ Buffer allocation:
#include "libavutil/common.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"X11/Xv",
"xv",
"Gerd Knorr <kraxel at goldbach.in-berlin.de> and others",
Modified: trunk/libvo/vo_xvidix.c
==============================================================================
--- trunk/libvo/vo_xvidix.c (original)
+++ trunk/libvo/vo_xvidix.c Sun Dec 2 15:06:03 2007
@@ -38,7 +38,7 @@
#endif
-static vo_info_t info = {
+static const vo_info_t info = {
"X11 (VIDIX)",
"xvidix",
"Alex Beregszaszi",
Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c (original)
+++ trunk/libvo/vo_xvmc.c Sun Dec 2 15:06:03 2007
@@ -119,7 +119,7 @@ static void xvmc_clean_surfaces(void);
static int count_free_surfaces();
static xvmc_render_state_t * find_free_surface();
-static vo_info_t info = {
+static const vo_info_t info = {
"XVideo Motion Compensation",
"xvmc",
"Ivan Kalvachev <iive at users.sf.net>",
Modified: trunk/libvo/vo_xvr100.c
==============================================================================
--- trunk/libvo/vo_xvr100.c (original)
+++ trunk/libvo/vo_xvr100.c Sun Dec 2 15:06:03 2007
@@ -52,7 +52,7 @@
#include "mp_msg.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"sun xvr-100",
"xvr100",
"Denes Balatoni",
Modified: trunk/libvo/vo_yuv4mpeg.c
==============================================================================
--- trunk/libvo/vo_yuv4mpeg.c (original)
+++ trunk/libvo/vo_yuv4mpeg.c Sun Dec 2 15:06:03 2007
@@ -45,7 +45,7 @@
#include "libmpcodecs/vf_scale.h"
#include "libavutil/rational.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"yuv4mpeg output for mjpegtools",
"yuv4mpeg",
Modified: trunk/libvo/vo_zr.c
==============================================================================
--- trunk/libvo/vo_zr.c (original)
+++ trunk/libvo/vo_zr.c Sun Dec 2 15:06:03 2007
@@ -30,7 +30,7 @@
#include "jpeg_enc.h"
-static vo_info_t info =
+static const vo_info_t info =
{
"Zoran ZR360[56]7/ZR36060 Driver (DC10(+)/buz/lml33/MatroxRR)",
"zr",
Modified: trunk/libvo/vo_zr2.c
==============================================================================
--- trunk/libvo/vo_zr2.c (original)
+++ trunk/libvo/vo_zr2.c Sun Dec 2 15:06:03 2007
@@ -29,7 +29,7 @@
#include "subopt-helper.h"
#include "fastmemcpy.h"
-static vo_info_t info = {
+static const vo_info_t info = {
"Zoran ZR360[56]7/ZR36060 Driver (DC10(+)/buz/lml33/MatroxRR)",
"zr2",
"Rik Snel <rsnel at cube.dyndns.org>",
More information about the MPlayer-cvslog
mailing list