summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_post_atmo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xine_post_atmo.c b/xine_post_atmo.c
index c8cd69c..71e5ecd 100644
--- a/xine_post_atmo.c
+++ b/xine_post_atmo.c
@@ -1417,6 +1417,7 @@ 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;