Mercurial > mplayer.hg
view loader/debug.h @ 28345:3a08f32c8fa1
Do not use select n lirc code, instead set the fd non-blocking.
select can not work because lirc_nextcode buffers data internally,
causing events to be delayed until the next keypress in some cases.
Patch by Dennis Vshivkov [jaimor (at) orcon net nz]
author | reimar |
---|---|
date | Tue, 27 Jan 2009 19:06:50 +0000 |
parents | a8ea87c71d18 |
children |
line wrap: on
line source
#ifndef MPLAYER_DEBUG_H #define MPLAYER_DEBUG_H #ifdef DEBUG #define TRACE printf #define dbg_printf printf #else #define TRACE(...) #define dbg_printf(...) #endif #endif /* MPLAYER_DEBUG_H */