summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-08-18 02:18:28 +0000
committerphintuka <phintuka>2006-08-18 02:18:28 +0000
commit0bb28a7b2f61b9c1744612395c24d894a890b7dc (patch)
tree96853039c332f4813c4d0886d02c849185a73441
parentb6929ac95f1dcbbde0f67dc133480065d1e00485 (diff)
downloadxineliboutput-0bb28a7b2f61b9c1744612395c24d894a890b7dc.tar.gz
xineliboutput-0bb28a7b2f61b9c1744612395c24d894a890b7dc.tar.bz2
Fixed end of stream detection
-rw-r--r--xine_frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 71794162..834a851f 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.10 2006-08-16 23:26:16 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.11 2006-08-18 02:18:28 phintuka Exp $
*
*/
@@ -1066,7 +1066,7 @@ static void *fe_control(void *fe_handle, const char *cmd)
posts->slave_stream = slave_stream;
fe_post_rewire(this);
}
- this->slave_playback_finished = 0;
+ this->slave_playback_finished = (slave_stream==NULL);
}
} else if(!strncmp(cmd, "ENDOFSTREAM", 11)) {