diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-01 18:38:00 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-01 18:38:00 +0000 |
commit | e1704a4877adfeb4b233b2e36dfbdab85d351e24 (patch) | |
tree | 75ff1abe78acd5e8893076cb0dab8ca3db1433ef /stream/tvi_v4l.c | |
parent | 78d1884e8e4e67b0623a3d06953ed1bcff570030 (diff) | |
download | mpv-e1704a4877adfeb4b233b2e36dfbdab85d351e24.tar.bz2 mpv-e1704a4877adfeb4b233b2e36dfbdab85d351e24.tar.xz |
tv driver loading rework. As a side effect "-tv driver=help" option is
implemented.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22399 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_v4l.c')
-rw-r--r-- | stream/tvi_v4l.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stream/tvi_v4l.c b/stream/tvi_v4l.c index 99d76660e9..8b20149f81 100644 --- a/stream/tvi_v4l.c +++ b/stream/tvi_v4l.c @@ -48,7 +48,10 @@ #include "audio_in.h" -static tvi_info_t info = { +static tvi_handle_t *tvi_init_v4l(char *device, char *adevice); + +tvi_info_t tvi_info_v4l = { + tvi_init_v4l, "Video 4 Linux input", "v4l", "Alex Beregszaszi", @@ -266,7 +269,7 @@ static void setup_audio_buffer_sizes(priv_t *priv) priv->audio_buffer_size, priv->audio_in.blocksize, priv->aud_skew_cnt); } -tvi_handle_t *tvi_init_v4l(char *device, char *adevice) +static tvi_handle_t *tvi_init_v4l(char *device, char *adevice) { tvi_handle_t *h; priv_t *priv; |