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
{
vo_info_t *info;
const vo_info_t *info;
/*
* Preinitializes driver (real INITIALIZATION)
* arg - currently it's vo_subdevice

View File

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

View File

@ -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@free.fr> and Folke Ashberg <folke@ashberg.de>",

View File

@ -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",

View File

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

View File

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

View File

@ -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@sci.fi>",

View File

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

View File

@ -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@seznam.cz",

View File

@ -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",

View File

@ -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@free.fr> and Tobias Diedrich <ranma@gmx.at>",

View File

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

View File

@ -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@inf.elte.hu>",

View File

@ -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@nicewarrior.org>",

View File

@ -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",

View File

@ -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@nicewarrior.org",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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@users.sf.net>",

View File

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

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

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

View File

@ -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@ess.engr.uvic.ca>",

View File

@ -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@makacs.poliod.hu>",

View File

@ -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",

View File

@ -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@goldbach.in-berlin.de> and others",

View File

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

View File

@ -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@users.sf.net>",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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@cube.dyndns.org>",