X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fsdl%2Fconsumer_sdl_preview.c;h=9d336dad707d01142c45fe663fda1a4a96b6892e;hb=4ec9b74a76a75383bbde704ad63e0e430bc9eeff;hp=94a5598ee1d4aabdba175a256c3ac08b1d8ab945;hpb=419dc228c5402f67b4aea86a847dc0540b27a10d;p=mlt diff --git a/src/modules/sdl/consumer_sdl_preview.c b/src/modules/sdl/consumer_sdl_preview.c index 94a5598e..9d336dad 100644 --- a/src/modules/sdl/consumer_sdl_preview.c +++ b/src/modules/sdl/consumer_sdl_preview.c @@ -249,7 +249,9 @@ static int consumer_stop( mlt_consumer parent ) pthread_mutex_lock( &this->refresh_mutex ); pthread_cond_broadcast( &this->refresh_cond ); pthread_mutex_unlock( &this->refresh_mutex ); +#ifndef WIN32 if ( this->thread ) +#endif pthread_join( this->thread, NULL ); this->joined = 1;