summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2014-04-29 10:03:18 +0000
committerphintuka <phintuka>2014-04-29 10:03:18 +0000
commitdf9cde449625ef66798f650f78aa9add2da71cbc (patch)
tree5d8d468aeade7a8816770e2716e7619f285b0254
parent23f9a0d9ae9069d15c97bc1ea56be304a4d5f366 (diff)
downloadxineliboutput-df9cde449625ef66798f650f78aa9add2da71cbc.tar.gz
xineliboutput-df9cde449625ef66798f650f78aa9add2da71cbc.tar.bz2
Fix CEC device detection with recent libcec
-rw-r--r--xine_frontend_cec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_frontend_cec.c b/xine_frontend_cec.c
index d5a10cb4..6ec42554 100644
--- a/xine_frontend_cec.c
+++ b/xine_frontend_cec.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_cec.c,v 1.1 2014-01-14 08:21:33 phintuka Exp $
+ * $Id: xine_frontend_cec.c,v 1.2 2014-04-29 10:03:18 phintuka Exp $
*
*/
@@ -383,7 +383,7 @@ static int libcec_init(void *fe_gen)
static int libcec_open(void)
{
cec_adapter devices[10];
- int count = cec_find_adapters(devices, 0, NULL);
+ int count = cec_find_adapters(devices, 10, NULL);
if (count < 1) {
LOGMSG("No HDMI-CEC adapters found");
return 0;