Signed-off-by: André Roth <neolynx@xxxxxxxxx> --- lib/include/dvb-demux.h | 2 +- lib/libdvbv5/dvb-demux.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/include/dvb-demux.h b/lib/include/dvb-demux.h index 25cd56c..afd6840 100644 --- a/lib/include/dvb-demux.h +++ b/lib/include/dvb-demux.h @@ -35,7 +35,7 @@ extern "C" { #endif -int dvb_dmx_open(int adapter, int demux, unsigned verbose); +int dvb_dmx_open(int adapter, int demux); void dvb_dmx_close(int dmx_fd); int dvb_set_pesfilter(int dmxfd, int pid, dmx_pes_type_t type, dmx_output_t output, int buffersize); diff --git a/lib/libdvbv5/dvb-demux.c b/lib/libdvbv5/dvb-demux.c index 138b58a..d07e6cf 100644 --- a/lib/libdvbv5/dvb-demux.c +++ b/lib/libdvbv5/dvb-demux.c @@ -40,11 +40,11 @@ #include "dvb-demux.h" -int dvb_dmx_open(int adapter, int demux, unsigned verbose) +int dvb_dmx_open(int adapter, int demux) { char* demux_name = NULL; asprintf(&demux_name, "/dev/dvb/adapter%i/demux%i", adapter, demux ); - int fd_demux = open( demux_name, O_RDWR ); + int fd_demux = open( demux_name, O_RDWR | O_NONBLOCK ); free( demux_name ); return fd_demux; } -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html