Commit a4c60962 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix previous commit - there is no vlc object here

parent eab50dcf
......@@ -1228,7 +1228,7 @@ static int AudioStreamChangeFormat( aout_instance_t *p_aout, AudioStreamID i_str
AudioStreamBasicDescription actual_format;
mtime_t timeout = mtime() + 500000;
if( vlc_object_timedwait( &w, timeout ) )
if( vlc_cond_timedwait( &w.cond, &w.lock, timeout ) )
{
msg_Dbg( p_aout, "reached timeout" );
}
......
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