From e1704a4877adfeb4b233b2e36dfbdab85d351e24 Mon Sep 17 00:00:00 2001 From: voroshil Date: Thu, 1 Mar 2007 18:38:00 +0000 Subject: 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 --- stream/tvi_v4l.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'stream/tvi_v4l.c') 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; -- cgit v1.2.3