Mercurial > mplayer.hg
diff stream/tvi_v4l.c @ 22381:6cabac4d35b5
tv driver loading rework. As a side effect "-tv driver=help" option is
implemented.
author | voroshil |
---|---|
date | Thu, 01 Mar 2007 18:38:00 +0000 |
parents | ab2a5307c029 |
children | a46ab26b2d5e |
line wrap: on
line diff
--- a/stream/tvi_v4l.c Thu Mar 01 17:34:24 2007 +0000 +++ b/stream/tvi_v4l.c Thu Mar 01 18:38:00 2007 +0000 @@ -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 @@ 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;