mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 22:57:42 +00:00
Make all tvi_info_t const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25717 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2f738465ad
commit
83773af50f
10
stream/tv.c
10
stream/tv.c
@ -41,11 +41,11 @@ tv_channels_t *tv_channel_current, *tv_channel_last;
|
||||
char *tv_channel_last_real;
|
||||
|
||||
/* enumerating drivers (like in stream.c) */
|
||||
extern tvi_info_t tvi_info_dummy;
|
||||
extern tvi_info_t tvi_info_dshow;
|
||||
extern tvi_info_t tvi_info_v4l;
|
||||
extern tvi_info_t tvi_info_v4l2;
|
||||
extern tvi_info_t tvi_info_bsdbt848;
|
||||
extern const tvi_info_t tvi_info_dummy;
|
||||
extern const tvi_info_t tvi_info_dshow;
|
||||
extern const tvi_info_t tvi_info_v4l;
|
||||
extern const tvi_info_t tvi_info_v4l2;
|
||||
extern const tvi_info_t tvi_info_bsdbt848;
|
||||
|
||||
/** List of drivers in autodetection order */
|
||||
static const tvi_info_t* tvi_driver_list[]={
|
||||
|
@ -69,7 +69,7 @@
|
||||
|
||||
static tvi_handle_t *tvi_init_bsdbt848(tv_param_t* tv_param);
|
||||
/* information about this file */
|
||||
tvi_info_t tvi_info_bsdbt848 = {
|
||||
const tvi_info_t tvi_info_bsdbt848 = {
|
||||
tvi_init_bsdbt848,
|
||||
"Brooktree848 Support",
|
||||
"bsdbt848",
|
||||
|
@ -102,7 +102,7 @@ static tvi_handle_t *tvi_init_dshow(tv_param_t* tv_param);
|
||||
/**
|
||||
information about this file
|
||||
*/
|
||||
tvi_info_t tvi_info_dshow = {
|
||||
const tvi_info_t tvi_info_dshow = {
|
||||
tvi_init_dshow,
|
||||
"DirectShow TV",
|
||||
"dshow",
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
static tvi_handle_t *tvi_init_dummy(tv_param_t* tv_param);
|
||||
/* information about this file */
|
||||
tvi_info_t tvi_info_dummy = {
|
||||
const tvi_info_t tvi_info_dummy = {
|
||||
tvi_init_dummy,
|
||||
"NULL-TV",
|
||||
"dummy",
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
static tvi_handle_t *tvi_init_v4l(tv_param_t* tv_param);
|
||||
|
||||
tvi_info_t tvi_info_v4l = {
|
||||
const tvi_info_t tvi_info_v4l = {
|
||||
tvi_init_v4l,
|
||||
"Video 4 Linux input",
|
||||
"v4l",
|
||||
|
@ -49,7 +49,7 @@ known issues:
|
||||
#define info tvi_info_v4l2
|
||||
static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param);
|
||||
/* information about this file */
|
||||
tvi_info_t tvi_info_v4l2 = {
|
||||
const tvi_info_t tvi_info_v4l2 = {
|
||||
tvi_init_v4l2,
|
||||
"Video 4 Linux 2 input",
|
||||
"v4l2",
|
||||
|
Loading…
Reference in New Issue
Block a user