Make vo info structs const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-02 14:06:03 +00:00
parent 2f4b840f62
commit 909887bdbe
46 changed files with 46 additions and 46 deletions

View File

@ -110,7 +110,7 @@ typedef struct vo_info_s
typedef struct vo_functions_s typedef struct vo_functions_s
{ {
vo_info_t *info; const vo_info_t *info;
/* /*
* Preinitializes driver (real INITIALIZATION) * Preinitializes driver (real INITIALIZATION)
* arg - currently it's vo_subdevice * arg - currently it's vo_subdevice

View File

@ -51,7 +51,7 @@
#include "fastmemcpy.h" #include "fastmemcpy.h"
static vo_info_t info = static const vo_info_t info =
{ {
"3dfx (/dev/3dfx)", "3dfx (/dev/3dfx)",
"3dfx", "3dfx",

View File

@ -44,7 +44,7 @@
#define MESSAGE_SIZE 512 #define MESSAGE_SIZE 512
#define MESSAGE_DEKO " +++ %s +++ " #define MESSAGE_DEKO " +++ %s +++ "
static vo_info_t info = { static const vo_info_t info = {
"AAlib", "AAlib",
"aa", "aa",
"Alban Bedel <albeu@free.fr> and Folke Ashberg <folke@ashberg.de>", "Alban Bedel <albeu@free.fr> and Folke Ashberg <folke@ashberg.de>",

View File

@ -47,7 +47,7 @@
#include "m_option.h" #include "m_option.h"
#include "fastmemcpy.h" #include "fastmemcpy.h"
static vo_info_t info = static const vo_info_t info =
{ {
"Blinkenlights driver: http://www.blinkenlights.de", "Blinkenlights driver: http://www.blinkenlights.de",
"bl", "bl",

View File

@ -38,7 +38,7 @@
#include <caca0.h> #include <caca0.h>
#endif #endif
static vo_info_t info = { static const vo_info_t info = {
"libcaca", "libcaca",
"caca", "caca",
"Pigeon <pigeon@pigeond.net>", "Pigeon <pigeon@pigeond.net>",

View File

@ -26,7 +26,7 @@
#include "vidix/vidixlib.h" #include "vidix/vidixlib.h"
static vo_info_t info = { static const vo_info_t info = {
"console VIDIX", "console VIDIX",
"cvidix", "cvidix",
"Sascha Sommer", "Sascha Sommer",

View File

@ -41,7 +41,7 @@
#include "aspect.h" #include "aspect.h"
#include "mp_fifo.h" #include "mp_fifo.h"
static vo_info_t info = { static const vo_info_t info = {
"DirectFB / Matrox G200/G400/G450/G550", "DirectFB / Matrox G200/G400/G450/G550",
"dfbmga", "dfbmga",
"Ville Syrjala <syrjala@sci.fi>", "Ville Syrjala <syrjala@sci.fi>",

View File

@ -30,7 +30,7 @@
#include <X11/extensions/xf86vmode.h> #include <X11/extensions/xf86vmode.h>
#endif #endif
static vo_info_t info = { static const vo_info_t info = {
#ifdef HAVE_DGA2 #ifdef HAVE_DGA2
"DGA ( Direct Graphic Access V2.0 )", "DGA ( Direct Graphic Access V2.0 )",
#else #else

View File

@ -58,7 +58,7 @@
#define TRIPLE 1 #define TRIPLE 1
#endif #endif
static vo_info_t info = { static const vo_info_t info = {
"Direct Framebuffer Device", "Direct Framebuffer Device",
"directfb", "directfb",
"Jiri Svoboda Jiri.Svoboda@seznam.cz", "Jiri Svoboda Jiri.Svoboda@seznam.cz",

View File

@ -135,7 +135,7 @@ static directx_fourcc_caps g_ddpf[] =
}; };
#define NUM_FORMATS (sizeof(g_ddpf) / sizeof(g_ddpf[0])) #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 DDraw YUV/RGB/BGR renderer",
"directx", "directx",

View File

@ -132,7 +132,7 @@ m_option_t dxr2_opts[] = {
{ NULL,NULL, 0, 0, 0, 0, NULL} { NULL,NULL, 0, 0, 0, 0, NULL}
}; };
static vo_info_t info = { static const vo_info_t info = {
"DXR2 video out", "DXR2 video out",
"dxr2", "dxr2",
"Alban Bedel <albeu@free.fr> and Tobias Diedrich <ranma@gmx.at>", "Alban Bedel <albeu@free.fr> and Tobias Diedrich <ranma@gmx.at>",

View File

@ -152,7 +152,7 @@
#define SPU_SUPPORT #define SPU_SUPPORT
static vo_info_t info = static const vo_info_t info =
{ {
"DXR3/H+ video out", "DXR3/H+ video out",
"dxr3", "dxr3",

View File

@ -31,7 +31,7 @@
#include "aspect.h" #include "aspect.h"
#include "mp_msg.h" #include "mp_msg.h"
static vo_info_t info = { static const vo_info_t info = {
"Framebuffer Device", "Framebuffer Device",
"fbdev", "fbdev",
"Szabolcs Berecz <szabi@inf.elte.hu>", "Szabolcs Berecz <szabi@inf.elte.hu>",

View File

@ -22,7 +22,7 @@
#include "sub.h" #include "sub.h"
#include "mp_msg.h" #include "mp_msg.h"
static vo_info_t info = { static const vo_info_t info = {
"Framebuffer Device", "Framebuffer Device",
"fbdev2", "fbdev2",
"Joey Parrish <joey@nicewarrior.org>", "Joey Parrish <joey@nicewarrior.org>",

View File

@ -36,7 +36,7 @@
/* maximum buffers */ /* maximum buffers */
#undef GGI_FLIP #undef GGI_FLIP
static vo_info_t info = static const vo_info_t info =
{ {
"General Graphics Interface (GGI) output", "General Graphics Interface (GGI) output",
"ggi", "ggi",

View File

@ -61,7 +61,7 @@
#define MPLAYER_VERSION 0.90 #define MPLAYER_VERSION 0.90
#define VO_GIF_REVISION 6 #define VO_GIF_REVISION 6
static vo_info_t info = { static const vo_info_t info = {
"animated GIF output", "animated GIF output",
"gif89a", "gif89a",
"Joey Parrish joey@nicewarrior.org", "Joey Parrish joey@nicewarrior.org",

View File

@ -19,7 +19,7 @@
#include "libass/ass.h" #include "libass/ass.h"
#include "libass/ass_mp.h" #include "libass/ass_mp.h"
static vo_info_t info = static const vo_info_t info =
{ {
"X11 (OpenGL)", "X11 (OpenGL)",
"gl", "gl",

View File

@ -33,7 +33,7 @@
#define TEXTURE_WIDTH 128 #define TEXTURE_WIDTH 128
#undef TEXTURE_WIDTH #undef TEXTURE_WIDTH
static vo_info_t info = static const vo_info_t info =
{ {
"X11 (OpenGL) - multiple textures version", "X11 (OpenGL) - multiple textures version",
"gl2", "gl2",

View File

@ -62,7 +62,7 @@ static opt_t subopts[] = {
{NULL} {NULL}
}; };
static vo_info_t info = static const vo_info_t info =
{ {
"IVTV MPEG Video Decoder TV-Out", "IVTV MPEG Video Decoder TV-Out",
"ivtv", "ivtv",

View File

@ -59,7 +59,7 @@
/* Info */ /* Info */
static vo_info_t info= static const vo_info_t info=
{ {
"JPEG file", "JPEG file",
"jpeg", "jpeg",

View File

@ -58,7 +58,7 @@
/* Info */ /* Info */
static vo_info_t info= static const vo_info_t info=
{ {
"md5sum of each frame", "md5sum of each frame",
"md5sum", "md5sum",

View File

@ -22,7 +22,7 @@
#include "sub.h" #include "sub.h"
#include "aspect.h" #include "aspect.h"
static vo_info_t info = static const vo_info_t info =
{ {
"Matrox G200/G4x0/G550 overlay (/dev/mga_vid)", "Matrox G200/G4x0/G550 overlay (/dev/mga_vid)",
"mga", "mga",

View File

@ -64,7 +64,7 @@
int vo_mpegpes_fd=-1; int vo_mpegpes_fd=-1;
extern int vo_mpegpes_fd2; extern int vo_mpegpes_fd2;
static vo_info_t info = static const vo_info_t info =
{ {
#ifdef HAVE_DVB #ifdef HAVE_DVB
"Mpeg-PES to DVB card", "Mpeg-PES to DVB card",

View File

@ -30,7 +30,7 @@
#include "video_out.h" #include "video_out.h"
#include "video_out_internal.h" #include "video_out_internal.h"
static vo_info_t info = static const vo_info_t info =
{ {
"Null video output", "Null video output",
"null", "null",

View File

@ -22,7 +22,7 @@
#include "video_out_internal.h" #include "video_out_internal.h"
#include "subopt-helper.h" #include "subopt-helper.h"
static vo_info_t info = static const vo_info_t info =
{ {
"PNG file", "PNG file",
"png", "png",

View File

@ -65,7 +65,7 @@
/* Info */ /* Info */
static vo_info_t info= static const vo_info_t info=
{ {
"PPM/PGM/PGMYUV file", "PPM/PGM/PGMYUV file",
"pnm", "pnm",

View File

@ -38,7 +38,7 @@
#include "vo_quartz.h" #include "vo_quartz.h"
static vo_info_t info = static const vo_info_t info =
{ {
"Mac OSX (Quartz)", "Mac OSX (Quartz)",
"quartz", "quartz",

View File

@ -29,7 +29,7 @@
#include "aspect.h" #include "aspect.h"
#include "sub.h" #include "sub.h"
static vo_info_t info = static const vo_info_t info =
{ {
"S3 Virge over fbdev", "S3 Virge over fbdev",
"s3fb", "s3fb",

View File

@ -126,7 +126,7 @@
#include "subopt-helper.h" #include "subopt-helper.h"
#include "mp_fifo.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 YUV/RGB/BGR renderer (SDL v1.1.7+ only!)",
"sdl", "sdl",

View File

@ -92,7 +92,7 @@ static struct {
int locks; int locks;
}PageStore[MAXPAGES]; }PageStore[MAXPAGES];
static vo_info_t info = { static const vo_info_t info = {
"SVGAlib", "SVGAlib",
"svga", "svga",
"Ivan Kalvachev <iive@users.sf.net>", "Ivan Kalvachev <iive@users.sf.net>",

View File

@ -41,7 +41,7 @@
#include "drivers/tdfx_vid.h" #include "drivers/tdfx_vid.h"
static vo_info_t info = static const vo_info_t info =
{ {
"tdfx vid", "tdfx vid",
"tdfx_vid", "tdfx_vid",

View File

@ -47,7 +47,7 @@
#include "aspect.h" #include "aspect.h"
#include "sub.h" #include "sub.h"
static vo_info_t info = static const vo_info_t info =
{ {
"3Dfx Banshee/Voodoo3/Voodoo5", "3Dfx Banshee/Voodoo3/Voodoo5",
"tdfxfb", "tdfxfb",

View File

@ -37,7 +37,7 @@
#include "video_out.h" #include "video_out.h"
#include "video_out_internal.h" #include "video_out_internal.h"
static vo_info_t info = static const vo_info_t info =
{ {
"Targa output", "Targa output",
"tga", "tga",

View File

@ -56,7 +56,7 @@ static opt_t subopts[] = {
{NULL} {NULL}
}; };
static vo_info_t info = static const vo_info_t info =
{ {
"V4L2 MPEG Video Decoder Output", "V4L2 MPEG Video Decoder Output",
"v4l2", "v4l2",

View File

@ -67,7 +67,7 @@ extern char *monitor_dotclock_str;
#define UNUSED(x) ((void)(x)) /**< Removes warning about unused arguments */ #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 VBE 2.0 video output",
"vesa", "vesa",

View File

@ -28,7 +28,7 @@
#include "vidix/vidixlib.h" #include "vidix/vidixlib.h"
static vo_info_t info = static const vo_info_t info =
{ {
"WIN32 (VIDIX)", "WIN32 (VIDIX)",
"winvidix", "winvidix",

View File

@ -50,7 +50,7 @@ int XShmGetEventBase(Display *);
#include "mplayer.h" #include "mplayer.h"
#endif #endif
static vo_info_t info = { static const vo_info_t info = {
"X11 ( XImage/Shm )", "X11 ( XImage/Shm )",
"x11", "x11",
"Aaron Holtzman <aholtzma@ess.engr.uvic.ca>", "Aaron Holtzman <aholtzma@ess.engr.uvic.ca>",

View File

@ -47,7 +47,7 @@ static unsigned int timerd = 0;
#include "gui/interface.h" #include "gui/interface.h"
#endif #endif
static vo_info_t info = { static const vo_info_t info = {
"Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)", "Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)",
"xmga", "xmga",
"Zoltan Ponekker <pontscho@makacs.poliod.hu>", "Zoltan Ponekker <pontscho@makacs.poliod.hu>",

View File

@ -37,7 +37,7 @@
#endif #endif
static vo_info_t info = static const vo_info_t info =
{ {
"General X11 driver for overlay capable video output drivers", "General X11 driver for overlay capable video output drivers",
"xover", "xover",

View File

@ -47,7 +47,7 @@ Buffer allocation:
#include "libavutil/common.h" #include "libavutil/common.h"
static vo_info_t info = { static const vo_info_t info = {
"X11/Xv", "X11/Xv",
"xv", "xv",
"Gerd Knorr <kraxel@goldbach.in-berlin.de> and others", "Gerd Knorr <kraxel@goldbach.in-berlin.de> and others",

View File

@ -38,7 +38,7 @@
#endif #endif
static vo_info_t info = { static const vo_info_t info = {
"X11 (VIDIX)", "X11 (VIDIX)",
"xvidix", "xvidix",
"Alex Beregszaszi", "Alex Beregszaszi",

View File

@ -119,7 +119,7 @@ static void xvmc_clean_surfaces(void);
static int count_free_surfaces(); static int count_free_surfaces();
static xvmc_render_state_t * find_free_surface(); static xvmc_render_state_t * find_free_surface();
static vo_info_t info = { static const vo_info_t info = {
"XVideo Motion Compensation", "XVideo Motion Compensation",
"xvmc", "xvmc",
"Ivan Kalvachev <iive@users.sf.net>", "Ivan Kalvachev <iive@users.sf.net>",

View File

@ -52,7 +52,7 @@
#include "mp_msg.h" #include "mp_msg.h"
static vo_info_t info = { static const vo_info_t info = {
"sun xvr-100", "sun xvr-100",
"xvr100", "xvr100",
"Denes Balatoni", "Denes Balatoni",

View File

@ -45,7 +45,7 @@
#include "libmpcodecs/vf_scale.h" #include "libmpcodecs/vf_scale.h"
#include "libavutil/rational.h" #include "libavutil/rational.h"
static vo_info_t info = static const vo_info_t info =
{ {
"yuv4mpeg output for mjpegtools", "yuv4mpeg output for mjpegtools",
"yuv4mpeg", "yuv4mpeg",

View File

@ -30,7 +30,7 @@
#include "jpeg_enc.h" #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)", "Zoran ZR360[56]7/ZR36060 Driver (DC10(+)/buz/lml33/MatroxRR)",
"zr", "zr",

View File

@ -29,7 +29,7 @@
#include "subopt-helper.h" #include "subopt-helper.h"
#include "fastmemcpy.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)", "Zoran ZR360[56]7/ZR36060 Driver (DC10(+)/buz/lml33/MatroxRR)",
"zr2", "zr2",
"Rik Snel <rsnel@cube.dyndns.org>", "Rik Snel <rsnel@cube.dyndns.org>",