]> git.sesse.net Git - mlt/blobdiff - src/modules/sdl/consumer_sdl_preview.c
Initial port to Windows using MinGW.
[mlt] / src / modules / sdl / consumer_sdl_preview.c
index 94a5598ee1d4aabdba175a256c3ac08b1d8ab945..9d336dad707d01142c45fe663fda1a4a96b6892e 100644 (file)
@@ -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;