]> git.sesse.net Git - vlc/commitdiff
Add warning if people try using an unimplemented aout function (zorglub!!!). This...
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 16 Dec 2007 14:58:43 +0000 (14:58 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 16 Dec 2007 14:58:43 +0000 (14:58 +0000)
src/audio_output/dec.c
src/audio_output/intf.c

index ded0a4936efcb9b23ca47557f5b7fef39af9be44..26dba558e0c3b4326b8675e4344d7ef03619cedd 100644 (file)
@@ -140,9 +140,7 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
     aout_InputNew( p_aout, p_input );
 
     vlc_mutex_unlock( &p_aout->mixer_lock );
-    var_Create( p_this, "audio-desync", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
-    var_Get( p_this, "audio-desync", &val );
-    p_input->i_desync = val.i_int * 1000;
+    p_input->i_desync = var_CreateGet( p_this, "audio-desync" ) * 1000;
 
     p_input_thread = (input_thread_t *)vlc_object_find( p_this,
                                            VLC_OBJECT_INPUT, FIND_PARENT );
index 0f7407331920c8a03de4e297df032760667a9301..5de1aa0de69ddea30acdde38245a5fafb418f136 100644 (file)
@@ -544,5 +544,7 @@ void aout_EnableFilter( vlc_object_t *p_this, const char *psz_name,
 char *aout_VisualChange( vlc_object_t *p_this, int i_skip )
 {
     (void)p_this; (void)i_skip;
+    msg_Err( p_this, "FIXME: %s (%s %d) isn't implemented.", __func__,
+             __FILE__, __LINE__ );
     return strdup("foobar");
 }