mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 17:37:23 +00:00
init_v4l only present if HAVE_TV_V4L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3250 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
432cbe98f7
commit
8d73b46405
@ -307,8 +307,10 @@ tvi_handle_t *tv_begin(void)
|
||||
{
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user