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 595532e..cf6f026 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 );