[vlc-devel] commit: embedded snapshot: unlock the cache object (Olivier Aubert )

git version control git at videolan.org
Fri Oct 24 15:22:29 CEST 2008


vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Fri Oct 24 14:00:26 2008 +0200| [9cff8cf11225ccfb6f74624741d83844c76422fd] | committer: Olivier Aubert 

embedded snapshot: unlock the cache object

It it locked when returning from vlc_object_wait/vlc_cond_wait

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9cff8cf11225ccfb6f74624741d83844c76422fd
---

 src/control/mediacontrol_audio_video.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/control/mediacontrol_audio_video.c b/src/control/mediacontrol_audio_video.c
index 595532e..cf6f026 100644
--- a/src/control/mediacontrol_audio_video.c
+++ b/src/control/mediacontrol_audio_video.c
@@ -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 );
 




More information about the vlc-devel mailing list