From 45287b2c2b9213d7bcfe443125e2aae6ef5a22dc Mon Sep 17 00:00:00 2001 From: voroshil Date: Sat, 13 Oct 2007 17:14:39 +0000 Subject: DirectShow based tv:// driver for win32 Teletext is also supported (but 625 system parameters are hardcoded). pthreads is required for teletext. Code is still experimental. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24772 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_tv.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'stream/stream_tv.c') diff --git a/stream/stream_tv.c b/stream/stream_tv.c index 95ba0b97a7..4328e72df9 100644 --- a/stream/stream_tv.c +++ b/stream/stream_tv.c @@ -36,7 +36,7 @@ tv_param_t stream_tv_defaults = { "europe-east", //chanlist "pal", //norm 0, //automute -#ifdef HAVE_TV_V4L2 +#if defined(HAVE_TV_V4L2) || defined(HAVE_TV_DSHOW) -1, //normid #endif NULL, //device @@ -51,15 +51,18 @@ tv_param_t stream_tv_defaults = { 0, //immediate; 44100, //audiorate; 0, //audio_id -#if defined(HAVE_TV_V4L) +#if defined(HAVE_TV_V4L) || defined(HAVE_TV_DSHOW) -1, //amode -1, //volume +#if defined(HAVE_TV_V4L) -1, //bass -1, //treble -1, //balance -1, //forcechan 0, //force_audio +#endif -1, //buffer_size +#if defined(HAVE_TV_V4L) 0, //mjpeg 2, //decimation 90, //quality @@ -68,6 +71,7 @@ tv_param_t stream_tv_defaults = { #endif #endif NULL, //adevice +#endif 0, //brightness 0, //contrast 0, //hue @@ -80,7 +84,13 @@ tv_param_t stream_tv_defaults = { 0, //scan_autostart 50, //scan_threshold - 0.5 //scan_period + 0.5, //scan_period +#ifdef HAVE_TV_DSHOW + 0, //hidden_video_renderer; + 0, //hidden_vp_renderer; + 0, //system_clock; + 0 //normalize_audio_chunks; +#endif }; #define ST_OFF(f) M_ST_OFF(tv_param_t,f) -- cgit v1.2.3