]> git.sesse.net Git - vlc/blobdiff - modules/video_output/caca.c
the vout might still run after the playlist termination, so we don't want to use...
[vlc] / modules / video_output / caca.c
index 967dea8e68c0d9af94a6dee4247927186247715a..888414a9eaa1784566a5f279e637396f9b66e89b 100644 (file)
@@ -29,7 +29,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 #include <vlc_interface.h>
@@ -372,7 +372,7 @@ static int Manage( vout_thread_t *p_vout )
         case CACA_EVENT_QUIT:
         {
             p_playlist = vlc_object_find( p_vout,
-                                          VLC_OBJECT_PLAYLIST, FIND_ANYWHERE );
+                                         VLC_OBJECT_PLAYLIST, FIND_ANYWHERE );
             if( p_playlist )
             {
                 playlist_Stop( p_playlist );
@@ -395,7 +395,7 @@ static int Manage( vout_thread_t *p_vout )
  *****************************************************************************/
 static void Render( vout_thread_t *p_vout, picture_t *p_pic )
 {
-    cucul_set_color( p_vout->p_sys->p_cv,
+    cucul_set_color_ansi( p_vout->p_sys->p_cv,
                      CUCUL_COLOR_DEFAULT, CUCUL_COLOR_BLACK );
     cucul_clear_canvas( p_vout->p_sys->p_cv );
     cucul_dither_bitmap( p_vout->p_sys->p_cv, 0, 0,