From 2aef9e2ef3a3c69466a3f0a737145f1f72c786f0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Aug 2012 23:51:54 +0200 Subject: stream: remove V4L TV input and V4L radio support There are V4L2 drivers, and the old V4L stuff seems plain unnecessary. --- stream/tv.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'stream/tv.c') diff --git a/stream/tv.c b/stream/tv.c index 07fb0270a6..3ce7264691 100644 --- a/stream/tv.c +++ b/stream/tv.c @@ -58,7 +58,6 @@ char *tv_channel_last_real; /* enumerating drivers (like in stream.c) */ extern const tvi_info_t tvi_info_dummy; extern const tvi_info_t tvi_info_dshow; -extern const tvi_info_t tvi_info_v4l; extern const tvi_info_t tvi_info_v4l2; extern const tvi_info_t tvi_info_bsdbt848; @@ -67,9 +66,6 @@ static const tvi_info_t* tvi_driver_list[]={ #ifdef CONFIG_TV_V4L2 &tvi_info_v4l2, #endif -#ifdef CONFIG_TV_V4L1 - &tvi_info_v4l, -#endif #ifdef CONFIG_TV_BSDBT848 &tvi_info_bsdbt848, #endif @@ -478,26 +474,6 @@ static int open_tv(tvi_handle_t *tvh) #endif tv_set_norm(tvh,tvh->tv_param->norm); -#ifdef CONFIG_TV_V4L1 - if ( tvh->tv_param->mjpeg ) - { - /* set width to expected value */ - if (tvh->tv_param->width == -1) - { - tvh->tv_param->width = 704/tvh->tv_param->decimation; - } - if (tvh->tv_param->height == -1) - { - if ( tvh->norm != TV_NORM_NTSC ) - tvh->tv_param->height = 576/tvh->tv_param->decimation; - else - tvh->tv_param->height = 480/tvh->tv_param->decimation; - } - mp_tmsg(MSGT_TV, MSGL_INFO, - " MJP: width %d height %d\n", tvh->tv_param->width, tvh->tv_param->height); - } -#endif - /* limits on w&h are norm-dependent -- JM */ if (tvh->tv_param->width != -1 && tvh->tv_param->height != -1) { // first tell the driver both width and height, some drivers do not support setting them independently. -- cgit v1.2.3