diff options
-rw-r--r-- | xine_post_atmo.c | 3 |
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; |