diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 01:48:45 +0100 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 01:48:45 +0100 |
commit | cba782a23ee5c9c668e02f9c6d95acba70464d18 (patch) | |
tree | 248b5dd329225b3383a679a697804952e9536899 /src/input/input_dvb.c | |
parent | bd482ac652db2a937381c475718139f1668de266 (diff) | |
download | xine-lib-cba782a23ee5c9c668e02f9c6d95acba70464d18.tar.gz xine-lib-cba782a23ee5c9c668e02f9c6d95acba70464d18.tar.bz2 |
Add CLOEXEC support for VDR plugin, plus a few extra descriptors.
Diffstat (limited to 'src/input/input_dvb.c')
-rw-r--r-- | src/input/input_dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 3667fbe43..6a984ab14 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -638,7 +638,7 @@ static tuner_t *XINE_MALLOC tuner_init(xine_t * xine, int adapter) if(this->feinfo.type==FE_OFDM) xprintf(this->xine,XINE_VERBOSITY_DEBUG,"TER Card\n"); if(this->feinfo.type==FE_ATSC) xprintf(this->xine,XINE_VERBOSITY_DEBUG,"US Card\n"); - if ((test_video=open(video_device, O_RDWR)) < 0) { + if ((test_video=open_cloexec(video_device, O_RDWR)) < 0) { xprintf(this->xine,XINE_VERBOSITY_DEBUG,"input_dvb: Card has no hardware decoder\n"); }else{ xprintf(this->xine,XINE_VERBOSITY_DEBUG,"input_dvb: Card HAS HARDWARE DECODER\n"); |