Actually, I don't know why SDLclose was commented out.
*****************************************************************************/
void vout_SDLDestroy( vout_thread_t *p_vout )
{
- // SDLCloseDisplay( p_vout );
+ SDLCloseDisplay( p_vout );
free( p_vout->p_sys );
}
{
SDL_Flip( p_vout->p_sys->p_display );
- }
- /* Swap buffers and change write frame */
- if( p_vout->p_sys->b_must_acquire )
- {
+
+ /* Swap buffers and change write frame */
SDL_LockSurface ( p_vout->p_sys->p_display );
}
}