]> git.sesse.net Git - vlc/blobdiff - modules/gui/wince/timer.cpp
win installer: partially revert [902be08a04ac4d05c280a99a9c0149292301a969]. That...
[vlc] / modules / gui / wince / timer.cpp
index f760771c1e1d5ce4df1103fa7a2301d5da03c66f..5047f0cc4e9835be9cfdbb06313e70ca5ebcf66b 100644 (file)
@@ -29,7 +29,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_aout.h>
 #include <vlc_interface.h>
 
@@ -142,7 +142,7 @@ void Timer::Notify( void )
     {
         input_thread_t *p_input = p_intf->p_sys->p_input;
 
-        if( !p_input->b_die )
+        if( vlc_object_alive (p_input) )
         {
             /* New input or stream map change */
             p_intf->p_sys->b_playing = 1;