summaryrefslogtreecommitdiff
path: root/src/xine-engine/demux.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-10-30 02:18:35 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-10-30 02:18:35 +0000
commit5fd98dc3451215272aadbe93dbb7e43805050fc3 (patch)
tree14768677bdde796f8b26e4ff9dd60643bf96d5d9 /src/xine-engine/demux.c
parentf32c34a198bb2f407b6ceb1157e7239d1c2f6d79 (diff)
downloadxine-lib-5fd98dc3451215272aadbe93dbb7e43805050fc3.tar.gz
xine-lib-5fd98dc3451215272aadbe93dbb7e43805050fc3.tar.bz2
gapless playback stream switching support
CVS patchset: 7784 CVS date: 2005/10/30 02:18:35
Diffstat (limited to 'src/xine-engine/demux.c')
-rw-r--r--src/xine-engine/demux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c
index f89fec38f..75928c6e1 100644
--- a/src/xine-engine/demux.c
+++ b/src/xine-engine/demux.c
@@ -20,7 +20,7 @@
* Demuxer helper functions
* hide some xine engine details from demuxers and reduce code duplication
*
- * $Id: demux.c,v 1.59 2005/08/25 15:36:30 valtri Exp $
+ * $Id: demux.c,v 1.60 2005/10/30 02:18:35 miguelfreitas Exp $
*/
@@ -67,6 +67,9 @@ void _x_demux_flush_engine (xine_stream_t *stream) {
buf_element_t *buf;
+ if( stream->gapless_switch )
+ return;
+
stream->xine->port_ticket->acquire(stream->xine->port_ticket, 1);
/* only flush/discard output ports on master streams */