summaryrefslogtreecommitdiffstats
path: root/libmpdemux/tv.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-21 21:31:20 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-21 21:31:20 +0000
commita5bd36cf4b999681d2077b9ffce26c9c4e158c1f (patch)
tree564857c463cce4f59ebee20efbb4b9e6a53b2a15 /libmpdemux/tv.h
parent1dd16637fb3f63f630fd093b0276410ca9d53f95 (diff)
downloadmpv-a5bd36cf4b999681d2077b9ffce26c9c4e158c1f.tar.bz2
mpv-a5bd36cf4b999681d2077b9ffce26c9c4e158c1f.tar.xz
new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- multithreaded audio/video buffering (I know mplayer crew hates threads but it seems to me as the only way of doing reliable a/v capture) - a/v timebase synchronization (sample count vs. gettimeofday) - "immediate" mode support for mplayer - fixed colorspace stuff - RGB?? and YUY2 modes now work as expected - native ALSA audio capture - separated audio input layer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/tv.h')
-rw-r--r--libmpdemux/tv.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/libmpdemux/tv.h b/libmpdemux/tv.h
index 5893c8a46d..255ab4c064 100644
--- a/libmpdemux/tv.h
+++ b/libmpdemux/tv.h
@@ -23,6 +23,14 @@ extern float tv_param_fps;
extern int tv_param_noaudio;
extern int tv_param_immediate;
extern int tv_param_audiorate;
+#ifdef HAVE_TV_V4L
+extern int tv_param_mono;
+extern int tv_param_audio_id;
+#ifdef HAVE_ALSA9
+extern int tv_param_alsa;
+#endif
+extern char* tv_param_adevice;
+#endif
typedef struct tvi_info_s
{
@@ -72,9 +80,7 @@ typedef struct tvi_handle_s {
#define TVI_CONTROL_IS_AUDIO 0x1
#define TVI_CONTROL_IS_VIDEO 0x2
#define TVI_CONTROL_IS_TUNER 0x3
-#ifdef HAVE_TV_BSDBT848
-#define TVI_CONTROL_IMMEDIATE 0x4
-#endif
+#define TVI_CONTROL_IMMEDIATE 0x4
/* VIDEO controls */
#define TVI_CONTROL_VID_GET_FPS 0x101