summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Auras <yak54@inkennet.de>2011-03-03 20:15:40 +0100
committerAndreas Auras <yak54@inkennet.de>2011-03-03 20:15:40 +0100
commitf75f91ce18bd63eb553671428d63411d625abdc9 (patch)
tree7e81ea39d6298f523dff09d4a596751793259113
parent4a2d27767b078b2e05fa45228786eaa6dd4c6ad5 (diff)
downloadxine-lib-atmolight-f75f91ce18bd63eb553671428d63411d625abdc9.tar.gz
xine-lib-atmolight-f75f91ce18bd63eb553671428d63411d625abdc9.tar.bz2
Fix for previous commit
-rw-r--r--xine_post_atmo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xine_post_atmo.c b/xine_post_atmo.c
index 71e5ecd..91a5abf 100644
--- a/xine_post_atmo.c
+++ b/xine_post_atmo.c
@@ -1417,7 +1417,6 @@ static void atmo_video_open(xine_video_port_t *port_gen, xine_stream_t *stream)
_x_post_inc_usage(port);
pthread_mutex_lock(&this->port_lock);
- stop_threads(this, 1);
(port->original_port->open) (port->original_port, stream);
port->stream = stream;
this->port = port;
@@ -1431,7 +1430,7 @@ static void atmo_video_close(xine_video_port_t *port_gen, xine_stream_t *stream)
atmo_post_plugin_t *this = (atmo_post_plugin_t *) port->post;
pthread_mutex_lock(&this->port_lock);
- stop_threads(this, 0);
+ stop_threads(this, 1);
this->port = NULL;
port->original_port->close(port->original_port, stream);
port->stream = NULL;