summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-08-12 15:12:54 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-08-12 15:12:54 +0000
commit9c7fc92c6c391b037393721dbe8742ddd260b1d1 (patch)
tree509e00c37b99b8450bd2d8bbc02a25179b60b9f8 /src/xine-engine/xine.c
parentd831b53279b0814ace01fc1d82bded5a73bb856c (diff)
downloadxine-lib-9c7fc92c6c391b037393721dbe8742ddd260b1d1.tar.gz
xine-lib-9c7fc92c6c391b037393721dbe8742ddd260b1d1.tar.bz2
cancel demux thread on xine_stop instead of pthread_join to prevent hang
CVS patchset: 415 CVS date: 2001/08/12 15:12:54
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 4659fb993..864641e6d 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.38 2001/07/27 21:46:59 f1rmb Exp $
+ * $Id: xine.c,v 1.39 2001/08/12 15:12:54 guenter Exp $
*
* top-level xine functions
*
@@ -205,7 +205,6 @@ static void xine_play_internal (xine_t *this, char *mrl,
if (!this->cur_input_plugin) {
perror ("open input source");
this->cur_demuxer_plugin = NULL;
- this->status = XINE_STOP;
return;
}
@@ -224,7 +223,6 @@ static void xine_play_internal (xine_t *this, char *mrl,
if(!find_demuxer(this, mrl)) {
printf ("xine: couldn't find demuxer for >%s<\n", mrl);
- this->status = XINE_STOP;
return;
}
@@ -251,6 +249,8 @@ static void xine_play_internal (xine_t *this, char *mrl,
this->status = XINE_PLAY;
strncpy (this->cur_mrl, mrl, 1024);
+ printf ("xine: demuxer started\n");
+
}
void xine_play (xine_t *this, char *MRL, int spos) {