summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-05-28 01:28:10 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-05-28 01:28:10 +0000
commit596bada7527edc65502fc7f3f52535d3e92554ba (patch)
tree453d95e3930c0a52cdd99e8b7b4c1f36ed58d2df /src/xine-engine/xine.c
parente0dafdff5dc592fb47151894a6db3ce0ae045e26 (diff)
downloadxine-lib-596bada7527edc65502fc7f3f52535d3e92554ba.tar.gz
xine-lib-596bada7527edc65502fc7f3f52535d3e92554ba.tar.bz2
use thread compliant signal handling. Fixed deadlock in xine_stop().
Fixed elementary demuxer (and perhaps mpgaudio too). Fix some code error in ac3/xine_decoder.c. CVS patchset: 87 CVS date: 2001/05/28 01:28:10
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 cbbb13a6c..6dd68199c 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.17 2001/05/26 20:47:14 siggi Exp $
+ * $Id: xine.c,v 1.18 2001/05/28 01:28:11 f1rmb Exp $
*
* top-level xine functions
*
@@ -72,10 +72,10 @@ void xine_notify_stream_finished (xine_t *this) {
*/
void xine_stop (xine_t *this) {
- pthread_mutex_lock (&this->xine_lock);
-
if (!this->cur_input_plugin)
return;
+
+ pthread_mutex_lock (&this->xine_lock);
this->status = XINE_STOP;