summaryrefslogtreecommitdiff
path: root/xine_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_frontend.c')
-rw-r--r--xine_frontend.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 69387cf2..dbbf6650 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.60 2008-06-16 11:36:49 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.61 2008-06-17 08:55:35 phintuka Exp $
*
*/
@@ -1198,17 +1198,17 @@ static int xine_queue_pes_packet(frontend_t *this_gen, const char *data, int len
#else /* #ifndef FE_STANDALONE */
-static void process_xine_keypress(input_plugin_t *input,
+static void process_xine_keypress(fe_t *this,
const char *map, const char *key,
int repeat, int release)
{
/* from UI --> input plugin --> vdr */
LOGDBG("Keypress: %s %s %s %s",
map, key, repeat?"Repeat":"", release?"Release":"");
- if(input) {
- vdr_input_plugin_t *input_vdr = (vdr_input_plugin_t *)input;
+ if(this->input || find_input(this)) {
+ vdr_input_plugin_t *input_vdr = (vdr_input_plugin_t *)this->input;
if(input_vdr->f.input_control) {
- input_vdr->f.input_control(input, map, key, repeat, release);
+ input_vdr->f.input_control(this->input, map, key, repeat, release);
} else {
LOGMSG("Keypress --- NO HANDLER SET");
}