]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/oss.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / audio_output / oss.c
index d3e4a74e12ad34531376f1a1669eb83039d6987f..a05fcf16b6768bf79aad50a3eaf3494ec09685bd 100644 (file)
@@ -353,7 +353,8 @@ static int Open( vlc_object_t *p_this )
     else
     {
         /* This should not happen ! */
-        msg_Err( p_aout, "internal: can't find audio-device (%i)", val.i_int );
+        msg_Err( p_aout, "internal: can't find audio-device (%"PRId64")",
+                 val.i_int );
         close( p_sys->i_fd );
         free( p_sys );
         return VLC_EGENERIC;
@@ -509,7 +510,7 @@ static int Open( vlc_object_t *p_this )
     }
 
     p_aout->output.p_sys->b_workaround_buggy_driver =
-        var_InheritInteger( p_aout, "oss-buggy" );
+        var_InheritBool( p_aout, "oss-buggy" );
 
     /* Create OSS thread and wait for its readiness. */
     if( vlc_thread_create( p_aout, "aout", OSSThread,