]> git.sesse.net Git - vlc/blobdiff - modules/gui/qnx/vout.c
Qt4 - Fix Simple Preference saving...
[vlc] / modules / gui / qnx / vout.c
index 67a410fcd75d40b414c51fc072b0677d10026389..be05b4065607969a346675df55b0195e5df89ee9 100644 (file)
@@ -25,8 +25,6 @@
  * Preamble
  *****************************************************************************/
 #include <errno.h>                                                 /* ENOMEM */
-#include <stdlib.h>                                                /* free() */
-#include <string.h>                                            /* strerror() */
 
 #include <photon/PtWidget.h>
 #include <photon/PtWindow.h>
@@ -34,8 +32,8 @@
 #include <photon/PdDirect.h>
 
 #include <vlc/vlc.h>
-#include <vlc/intf.h>
-#include <vlc/vout.h>
+#include <vlc_interface.h>
+#include <vlc_vout.h>
 
 /*****************************************************************************
  * vout_sys_t: video output QNX method descriptor
@@ -299,7 +297,7 @@ static int QNXManage( vout_thread_t *p_vout )
     PhEvent_t *p_event;
     vlc_bool_t b_repos = 0;
 
-    if (p_vout->b_die == 1)
+    if (p_vout->b_die)
     {
         return ( 0 );
     }
@@ -338,7 +336,7 @@ static int QNXManage( vout_thread_t *p_vout )
                 switch( p_ev->event_f )
                 {
                 case Ph_WM_CLOSE:
-                    p_vout->p_libvlc->b_die = 1;
+                    p_vout->p_libvlc->b_die = VLC_TRUE;
                     break;
 
                 case Ph_WM_MOVE:
@@ -368,7 +366,7 @@ static int QNXManage( vout_thread_t *p_vout )
                     {
                     case Pk_q:
                     case Pk_Q:
-                        p_vout->p_libvlc->b_die = 1;
+                        p_vout->p_libvlc->b_die = VLC_TRUE;
                         break;
 
                     case Pk_f: