Commit c704c4af authored by Antoine Cellerier's avatar Antoine Cellerier

Add warning if people try using an unimplemented aout function (zorglub!!!)....

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).
parent 7831c22d
...@@ -140,9 +140,7 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout, ...@@ -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 ); aout_InputNew( p_aout, p_input );
vlc_mutex_unlock( &p_aout->mixer_lock ); vlc_mutex_unlock( &p_aout->mixer_lock );
var_Create( p_this, "audio-desync", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT ); p_input->i_desync = var_CreateGet( p_this, "audio-desync" ) * 1000;
var_Get( p_this, "audio-desync", &val );
p_input->i_desync = val.i_int * 1000;
p_input_thread = (input_thread_t *)vlc_object_find( p_this, p_input_thread = (input_thread_t *)vlc_object_find( p_this,
VLC_OBJECT_INPUT, FIND_PARENT ); VLC_OBJECT_INPUT, FIND_PARENT );
......
...@@ -544,5 +544,7 @@ void aout_EnableFilter( vlc_object_t *p_this, const char *psz_name, ...@@ -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 ) char *aout_VisualChange( vlc_object_t *p_this, int i_skip )
{ {
(void)p_this; (void)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"); return strdup("foobar");
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment