]> git.sesse.net Git - vlc/blobdiff - modules/video_output/omapfb.c
XCB: configure rules
[vlc] / modules / video_output / omapfb.c
index df72a100713af7cb2d5599cf7e10155fd2f8ab27..4812b626ed16779ce777b21ea2d7ca2616c77a1e 100644 (file)
@@ -376,11 +376,10 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
     switch( i_query )
     {
        case VOUT_REPARENT:
-       case VOUT_CLOSE:
             vout_ReleaseWindow( p_vout->p_sys->owner_window );
             return VLC_SUCCESS;
        default:
-            return vout_vaControlDefault( p_vout, i_query, args );
+            return VLC_EGENERIC;
     }
 }
 
@@ -598,7 +597,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
     if( (p_sys->p_video = (uint8_t *)mmap( 0, p_sys->i_page_size, PROT_READ | PROT_WRITE, MAP_SHARED,
                                             p_sys->i_fd, 0 )) == MAP_FAILED )
     {
-        msg_Err( p_vout, "Can't mmap: %s\n", strerror(errno) );
+        msg_Err( p_vout, "Can't mmap: %s", strerror(errno) );
         return VLC_EGENERIC;
     }
 
@@ -615,7 +614,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
     if( (p_sys->p_null = (uint8_t *)mmap( 0, p_sys->i_page_size, PROT_READ | PROT_WRITE,
                                           MAP_PRIVATE, p_sys->i_null_fd, 0 )) == MAP_FAILED )
     {
-        msg_Err( p_vout, "Can't mmap 2: %s\n", strerror(errno) );
+        msg_Err( p_vout, "Can't mmap 2: %s", strerror(errno) );
         return VLC_EGENERIC;
     }