]> git.sesse.net Git - vlc/commitdiff
embedded snapshot: unlock the cache object
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Fri, 24 Oct 2008 12:00:26 +0000 (14:00 +0200)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Fri, 24 Oct 2008 12:34:56 +0000 (14:34 +0200)
It it locked when returning from vlc_object_wait/vlc_cond_wait

src/control/mediacontrol_audio_video.c

index 595532e0f51c1b06d0f96e1dc71c28f6589d11f4..cf6f0268c96e3708e587f21aa5c98da3960556aa 100644 (file)
@@ -94,6 +94,7 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
     vlc_object_release( p_vout );
 
     p_snapshot = ( snapshot_t* ) p_cache->p_private;
+    vlc_object_unlock( p_cache );
     vlc_object_release( p_cache );
     vlc_object_release( p_input );