]> git.sesse.net Git - vlc/commitdiff
Remove bogus vlc_object_wait (no condition to wait on)
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 24 Jan 2009 18:24:20 +0000 (20:24 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 24 Jan 2009 18:57:45 +0000 (20:57 +0200)
N.B.: libvlc snapshots remain seriously broken.
Vout is not locked when shooting. Variables are not safely set.
Vout thread does not access request field safely.
Multiple requests are not safe either. I probably missed some other
issues.

src/control/mediacontrol_audio_video.c

index f783f516594807b4530ced60bae16ae95ec6f3ec..f2367de399262a05cd5fd654f6c95b03c4345e40 100644 (file)
@@ -92,7 +92,6 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
 
     vlc_object_lock( p_cache );
     vout_Control( p_vout, VOUT_SNAPSHOT );
-    vlc_object_wait( p_cache );
     vlc_object_release( p_vout );
 
     p_snapshot = ( snapshot_t* ) p_cache->p_private;