Mercurial > mplayer.hg
view loader/drv.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 | 0b21ffa03b9c |
children | 26f673ba0675 |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_DRV_H #define MPLAYER_DRV_H #ifdef __cplusplus extern "C" { #endif #include "wine/windef.h" #include "wine/driver.h" void SetCodecPath(const char* path); void CodecAlloc(void); void CodecRelease(void); HDRVR DrvOpen(LPARAM lParam2); void DrvClose(HDRVR hdrvr); #ifdef __cplusplus } #endif #endif /* MPLAYER_DRV_H */