From a5bd36cf4b999681d2077b9ffce26c9c4e158c1f Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 21 Aug 2002 21:31:20 +0000 Subject: new v4l capture patch by Jindrich Makovicka : - 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 --- mp_msg.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mp_msg.c') 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; -- cgit v1.2.3