summaryrefslogtreecommitdiffstats
path: root/stream/tv.h
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-14 16:44:32 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-14 16:44:32 +0000
commit2585d1e148c0fa984b7255d558d4300613bc1388 (patch)
treea5adb473b70f70849fbef4d403322b18a55976e8 /stream/tv.h
parent7713841e4d9b2c06ee9af45ffa18e1b395da75a3 (diff)
downloadmpv-2585d1e148c0fa984b7255d558d4300613bc1388.tar.bz2
mpv-2585d1e148c0fa984b7255d558d4300613bc1388.tar.xz
#ifdef's in tv.c and tv.h becomes more and more hard to maintain.
I've decided to remove all of them and control options only through cfg-common.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24786 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.h')
-rw-r--r--stream/tv.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/stream/tv.h b/stream/tv.h
index acd78f108f..7dc87c53f2 100644
--- a/stream/tv.h
+++ b/stream/tv.h
@@ -11,9 +11,7 @@ typedef struct tv_param_s {
char *chanlist;
char *norm;
int automute;
-#if defined(HAVE_TV_V4L2) || defined(HAVE_TV_DSHOW)
int normid;
-#endif
char *device;
char *driver;
int width;
@@ -26,27 +24,19 @@ typedef struct tv_param_s {
int immediate;
int audiorate;
int audio_id;
-#if defined(HAVE_TV_V4L) || defined(HAVE_TV_DSHOW)
int amode;
int volume;
-#if defined(HAVE_TV_V4L)
int bass;
int treble;
int balance;
int forcechan;
int force_audio;
-#endif
int buffer_size;
-#if defined(HAVE_TV_V4L)
int mjpeg;
int decimation;
int quality;
-#if defined(HAVE_ALSA9) || defined(HAVE_ALSA1X)
int alsa;
-#endif
-#endif
char* adevice;
-#endif
int brightness;
int contrast;
int hue;
@@ -60,8 +50,6 @@ typedef struct tv_param_s {
int scan;
int scan_threshold;
float scan_period;
-
-#ifdef HAVE_TV_DSHOW
/**
Terminate stream with video renderer instead of Null renderer
Will help if video freezes but audio does not.
@@ -88,7 +76,6 @@ typedef struct tv_param_s {
It will create audio chunks with time length equal to one video frame time.
*/
int normalize_audio_chunks;
-#endif
} tv_param_t;
extern tv_param_t stream_tv_defaults;