summaryrefslogtreecommitdiffstats
path: root/stream/stream_tv.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-23 16:09:30 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-23 16:09:30 +0000
commitf1fbca4bdd35b7ceb636dac0b979fa1acca9e609 (patch)
treec04e7a27a93c5e0600527963875dc00590c177e3 /stream/stream_tv.c
parentffac6ce7eba3dea5878f3eb482a11e9ab7606455 (diff)
downloadmpv-f1fbca4bdd35b7ceb636dac0b979fa1acca9e609.tar.bz2
mpv-f1fbca4bdd35b7ceb636dac0b979fa1acca9e609.tar.xz
Automatic TV channels scanning ability for MPlayer.
Code is based on patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_tv.c')
-rw-r--r--stream/stream_tv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/stream/stream_tv.c b/stream/stream_tv.c
index 8332b07477..bbddac1aff 100644
--- a/stream/stream_tv.c
+++ b/stream/stream_tv.c
@@ -74,7 +74,11 @@ tv_param_t stream_tv_defaults = {
0, //saturation
NULL, //tdevice
0, //tformat
- 100 //tpage
+ 100, //tpage
+
+ 0, //scan_autostart
+ 50, //scan_threshold
+ 0.5 //scan_period
};
#define ST_OFF(f) M_ST_OFF(tv_param_t,f)