Mercurial > mplayer.hg
changeset 3249:49a0d462dffe
init_v4l only present if HAVE_TV_V4L
author | alex |
---|---|
date | Sat, 01 Dec 2001 17:41:59 +0000 |
parents | 808d1ac88074 |
children | 61b1441c0f8c |
files | libmpdemux/tv.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/tv.c Sat Dec 01 17:17:32 2001 +0000 +++ b/libmpdemux/tv.c Sat Dec 01 17:41:59 2001 +0000 @@ -307,8 +307,10 @@ { if (!strcmp(tv_param_driver, "dummy")) return (tvi_handle_t *)tvi_init_dummy(tv_param_device); +#ifdef HAVE_TV_V4L if (!strcmp(tv_param_driver, "v4l")) return (tvi_handle_t *)tvi_init_v4l(tv_param_device); +#endif mp_msg(MSGT_TV, MSGL_ERR, "No such driver: %s\n", tv_param_driver); return(NULL);