summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
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 /mp_msg.c
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 'mp_msg.c')
-rw-r--r--mp_msg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 8fbf4b6d8e..b5c7c3df91 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -40,6 +40,11 @@ void mp_msg_set_level(int verbose){
}
}
+int mp_msg_test(int mod, int lev)
+{
+ return lev <= mp_msg_levels[mod];
+}
+
void mp_msg_c( int x, const char *format, ... ){
#if 1
va_list va;