diff options
author | phintuka <phintuka> | 2006-07-02 16:47:13 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-07-02 16:47:13 +0000 |
commit | 421dcd99a1e107f6fe896e65714e51df11077608 (patch) | |
tree | 9f7372a96067c80304e235d864e09b4a8ed43b5d | |
parent | 2d467b841a86e4f7fac81b2d6fd5ce1ff149a9b6 (diff) | |
download | xineliboutput-421dcd99a1e107f6fe896e65714e51df11077608.tar.gz xineliboutput-421dcd99a1e107f6fe896e65714e51df11077608.tar.bz2 |
Ignore end of slave stream messages
-rw-r--r-- | xine_frontend.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xine_frontend.c b/xine_frontend.c index 0fd845e0..92e62109 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.4 2006-06-11 19:08:05 phintuka Exp $ + * $Id: xine_frontend.c,v 1.5 2006-07-02 16:47:13 phintuka Exp $ * */ @@ -252,10 +252,12 @@ static void xine_event_cb (void *user_data, const xine_event_t *event) /* in local mode: vdr stream / slave stream ; in remote mode: vdr stream only */ case XINE_EVENT_UI_PLAYBACK_FINISHED: LOGMSG("xine_event_cb: XINE_EVENT_UI_PLAYBACK_FINISHED"); - if(this) - this->playback_finished = 1; - else + if(this) { + if(event->stream == this->stream) + this->playback_finished = 1; + } else { LOGMSG("xine_event_cb: NO USER DATA !"); + } break; } } |