mirror of
https://github.com/mpv-player/mpv
synced 2024-09-05 02:48:21 +02:00
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:
parent
2f4b840f62
commit
909887bdbe
@ -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
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
/* Info */
|
/* Info */
|
||||||
|
|
||||||
static vo_info_t info=
|
static const vo_info_t info=
|
||||||
{
|
{
|
||||||
"JPEG file",
|
"JPEG file",
|
||||||
"jpeg",
|
"jpeg",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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>",
|
||||||
|
Loading…
Reference in New Issue
Block a user