summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-01 22:30:55 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-01 22:30:55 +0000
commit6d7be47f8af2a31a278b423dd52a7da1c364f427 (patch)
treed3e2763960ad3c90e53093c76c573a5f4f4fda6e
parent6c6982976a171c5b4c9b577f1086ab4a953da656 (diff)
downloadxine-lib-6d7be47f8af2a31a278b423dd52a7da1c364f427.tar.gz
xine-lib-6d7be47f8af2a31a278b423dd52a7da1c364f427.tar.bz2
fix another logo race condition.
was trigged by the sequence: <play mrl1>, <stop>, <play mrl2>. where <stop> to <play mrl2> timming was shorter than logo file duration. CVS patchset: 2380 CVS date: 2002/08/01 22:30:55
-rw-r--r--src/xine-engine/xine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index e4a43505e..c157f4745 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine.c,v 1.146 2002/07/30 00:26:45 miguelfreitas Exp $
+ * $Id: xine.c,v 1.147 2002/08/01 22:30:55 miguelfreitas Exp $
*
* top-level xine functions
*
@@ -370,6 +370,7 @@ int xine_play_internal (xine_t *this, char *mrl,
if ((this->status == XINE_PLAY && strcmp (mrl, this->cur_mrl)) || (this->status == XINE_LOGO)) {
if(this->cur_demuxer_plugin) {
+ this->playing_logo = 0;
this->cur_demuxer_plugin->stop (this->cur_demuxer_plugin);
}