From: Antoine Cellerier Date: Sun, 16 Dec 2007 14:58:43 +0000 (+0000) Subject: Add warning if people try using an unimplemented aout function (zorglub!!!). This... X-Git-Tag: 0.9.0-test0~4071 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c704c4afd46601b4e0333525329f71ebbbb397ba;p=vlc Add warning if people try using an unimplemented aout function (zorglub!!!). This is currently only possible through the qt interface (i haven't tried it myself). --- diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c index ded0a4936e..26dba558e0 100644 --- a/src/audio_output/dec.c +++ b/src/audio_output/dec.c @@ -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 ); diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c index 0f74073319..5de1aa0de6 100644 --- a/src/audio_output/intf.c +++ b/src/audio_output/intf.c @@ -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"); }