diff options
author | phintuka <phintuka> | 2015-04-22 07:35:15 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2015-04-22 07:35:15 +0000 |
commit | 94beba7ca110bf397634fc92b6694178b666f9c2 (patch) | |
tree | 7eeb48f0b8a82db5818bac82868a22042f4ca036 | |
parent | fd21e7a0936b984e76eb01c308ccc5a811c68918 (diff) | |
download | xineliboutput-94beba7ca110bf397634fc92b6694178b666f9c2.tar.gz xineliboutput-94beba7ca110bf397634fc92b6694178b666f9c2.tar.bz2 |
Fix build with recent libcec
-rw-r--r-- | xine_frontend_cec.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xine_frontend_cec.c b/xine_frontend_cec.c index 02e44f0c..f3b75a44 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.3 2014-04-29 10:21:18 phintuka Exp $ + * $Id: xine_frontend_cec.c,v 1.4 2015-04-22 07:35:15 phintuka Exp $ * */ @@ -272,7 +272,12 @@ static void libcec_config_clear(libcec_configuration *p) p->bMonitorOnly = 0; p->cecVersion = CEC_DEFAULT_SETTING_CEC_VERSION; p->adapterType = ADAPTERTYPE_UNKNOWN; + +#ifdef CEC_DOUBLE_TAP_TIMEOUT_50_MS + p->iDoubleTapTimeout50Ms = CEC_DOUBLE_TAP_TIMEOUT_50_MS; +#else p->iDoubleTapTimeoutMs = CEC_DOUBLE_TAP_TIMEOUT_MS; +#endif p->comboKey = CEC_USER_CONTROL_CODE_STOP; p->iComboKeyTimeoutMs = CEC_DEFAULT_COMBO_TIMEOUT_MS; |