]> git.sesse.net Git - vlc/commitdiff
* modules/video_output/directx/events.c: forgot an argument to SetThreadExecutionState().
authorGildas Bazin <gbazin@videolan.org>
Mon, 19 Apr 2004 14:06:42 +0000 (14:06 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 19 Apr 2004 14:06:42 +0000 (14:06 +0000)
modules/video_output/directx/events.c

index 5f0197ed3e994007c6f66652bdf8d69e105bc57b..0cfb5861b1213d463b1ab5e89b1fd04d91b3d5d4 100644 (file)
@@ -111,7 +111,7 @@ void DirectXEventThread( event_thread_t *p_event )
 
         if( OurSetThreadExecutionState )
             /* Prevent monitor from powering off */
-            OurSetThreadExecutionState( ES_DISPLAY_REQUIRED );
+            OurSetThreadExecutionState( ES_DISPLAY_REQUIRED | ES_CONTINUOUS );
         else
             msg_Dbg( p_event, "no support for SetThreadExecutionState()" );
     }