diff options
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 004e0942..824a701f 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.24 2006-08-16 17:53:05 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.25 2006-08-16 21:46:34 phintuka Exp $ * */ @@ -3116,19 +3116,22 @@ static void vdr_event_cb (void *user_data, const xine_event_t *event) if(this->fd_control >= 0) { write_control(this, "ENDOFSTREAM\r\n"); } else { + if(this->funcs.fe_control) + this->funcs.fe_control(this->funcs.fe_handle, "ENDOFSTREAM\r\n"); +#if 0 if(!this->loop_play) { /* forward to vdr-fe (listening only VDR stream events) */ xine_event_t event; event.data_length = 0; event.type = XINE_EVENT_UI_PLAYBACK_FINISHED; xine_event_send (this->stream, &event); -LOGMSG("No loop play, playback of slave stream finished"); } else { -#if 0 +# if 0 xine_usec_sleep(500*1000); xine_play(this->slave_stream, 0, 0); -#endif +# endif } +#endif } } break; |