summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-31 17:49:51 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-31 17:49:51 +0000
commiteb5bf3b88e11054e30aaa34e713a4a61c167cc04 (patch)
tree61f2407f803d6bbb47f724b4fe14f6652f2dfc79 /stream/tv.c
parentd244fffa741baa4757c5385e53c93cee4224d599 (diff)
downloadmpv-eb5bf3b88e11054e30aaa34e713a4a61c167cc04.tar.bz2
mpv-eb5bf3b88e11054e30aaa34e713a4a61c167cc04.tar.xz
New "automute" tv:// option.
Will switch off sound and show blue screen instead of video with noise when signal level (in 0-255 scale) is less than specified value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23440 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/tv.c b/stream/tv.c
index d6a6552832..a3fbaeeb02 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -55,6 +55,7 @@ int tv_param_outfmt = -1;
float tv_param_fps = -1.0;
char **tv_param_channels = NULL;
int tv_param_audio_id = 0;
+int tv_param_automute = 0;
#if defined(HAVE_TV_V4L)
int tv_param_amode = -1;
int tv_param_volume = -1;