mirror of
https://github.com/mpv-player/mpv
synced 2025-02-22 07:46:55 +00: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
|
||||
{
|
||||
vo_info_t *info;
|
||||
const vo_info_t *info;
|
||||
/*
|
||||
* Preinitializes driver (real INITIALIZATION)
|
||||
* arg - currently it's vo_subdevice
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
#include "fastmemcpy.h"
|
||||
|
||||
static vo_info_t info =
|
||||
static const vo_info_t info =
|
||||
{
|
||||
"3dfx (/dev/3dfx)",
|
||||
"3dfx",
|
||||
|
@ -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>",
|
||||
|
@ -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",
|
||||
|
@ -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>",
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "vidix/vidixlib.h"
|
||||
|
||||
|
||||
static vo_info_t info = {
|
||||
static const vo_info_t info = {
|
||||
"console VIDIX",
|
||||
"cvidix",
|
||||
"Sascha Sommer",
|
||||
|
@ -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>",
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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>",
|
||||
|
@ -152,7 +152,7 @@
|
||||
|
||||
#define SPU_SUPPORT
|
||||
|
||||
static vo_info_t info =
|
||||
static const vo_info_t info =
|
||||
{
|
||||
"DXR3/H+ video out",
|
||||
"dxr3",
|
||||
|
@ -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>",
|
||||
|
@ -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>",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
/* Info */
|
||||
|
||||
static vo_info_t info=
|
||||
static const vo_info_t info=
|
||||
{
|
||||
"JPEG file",
|
||||
"jpeg",
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
/* Info */
|
||||
|
||||
static vo_info_t info=
|
||||
static const vo_info_t info=
|
||||
{
|
||||
"md5sum of each frame",
|
||||
"md5sum",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -65,7 +65,7 @@
|
||||
|
||||
/* Info */
|
||||
|
||||
static vo_info_t info=
|
||||
static const vo_info_t info=
|
||||
{
|
||||
"PPM/PGM/PGMYUV file",
|
||||
"pnm",
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "vo_quartz.h"
|
||||
|
||||
static vo_info_t info =
|
||||
static const vo_info_t info =
|
||||
{
|
||||
"Mac OSX (Quartz)",
|
||||
"quartz",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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>",
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "drivers/tdfx_vid.h"
|
||||
|
||||
|
||||
static vo_info_t info =
|
||||
static const vo_info_t info =
|
||||
{
|
||||
"tdfx vid",
|
||||
"tdfx_vid",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "vidix/vidixlib.h"
|
||||
|
||||
|
||||
static vo_info_t info =
|
||||
static const vo_info_t info =
|
||||
{
|
||||
"WIN32 (VIDIX)",
|
||||
"winvidix",
|
||||
|
@ -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>",
|
||||
|
@ -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>",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -38,7 +38,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
static vo_info_t info = {
|
||||
static const vo_info_t info = {
|
||||
"X11 (VIDIX)",
|
||||
"xvidix",
|
||||
"Alex Beregszaszi",
|
||||
|
@ -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>",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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>",
|
||||
|
Loading…
Reference in New Issue
Block a user