comparison mp_msg.c @ 7058:2e5c07262861

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
author arpi
date Wed, 21 Aug 2002 21:31:20 +0000
parents 786ab42c10be
children a5b2566f3c2b
comparison
equal deleted inserted replaced
7057:9a69417e2e0f 7058:2e5c07262861
36 void mp_msg_set_level(int verbose){ 36 void mp_msg_set_level(int verbose){
37 int i; 37 int i;
38 for(i=0;i<MSGT_MAX;i++){ 38 for(i=0;i<MSGT_MAX;i++){
39 mp_msg_levels[i]=verbose; 39 mp_msg_levels[i]=verbose;
40 } 40 }
41 }
42
43 int mp_msg_test(int mod, int lev)
44 {
45 return lev <= mp_msg_levels[mod];
41 } 46 }
42 47
43 void mp_msg_c( int x, const char *format, ... ){ 48 void mp_msg_c( int x, const char *format, ... ){
44 #if 1 49 #if 1
45 va_list va; 50 va_list va;