]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/events.c
s/pl_Yield/pl_Hold/
[vlc] / modules / video_output / msw / events.c
index 5bf50319e1c03f2ac68ba62392d39919b84ff47c..c787914a383560cd3e94d89a9c4c3501935828d7 100644 (file)
@@ -874,7 +874,7 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
     /* the user wants to close the window */
     case WM_CLOSE:
     {
-        playlist_t * p_playlist = pl_Yield( p_vout );
+        playlist_t * p_playlist = pl_Hold( p_vout );
         if( p_playlist )
         {
             playlist_Stop( p_playlist );