]> git.sesse.net Git - vlc/blobdiff - modules/gui/qnx/vout.c
Privatized part of vout fields.
[vlc] / modules / gui / qnx / vout.c
index 58acda727110c0e24c26b0b3c65b18c662501834..bc34b1bfe97bdf645c08a32328d8c9402202c06c 100644 (file)
@@ -35,7 +35,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_interface.h>
 #include <vlc_vout.h>
 
@@ -301,7 +301,7 @@ static int QNXManage( vout_thread_t *p_vout )
     PhEvent_t *p_event;
     bool b_repos = 0;
 
-    if (p_vout->b_die)
+    if (!vlc_object_alive (p_vout))
     {
         return ( 0 );
     }
@@ -378,12 +378,6 @@ static int QNXManage( vout_thread_t *p_vout )
                         p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE;
                         break;
 
-                    case Pk_c:
-                    case Pk_C:
-                        p_vout->b_grayscale = ! p_vout->b_grayscale;
-                        p_vout->i_changes |= VOUT_GRAYSCALE_CHANGE;
-                        break;
-
                     default:
                         break;
                     }