Commit 9cff8cf1 authored by Olivier Aubert's avatar Olivier Aubert

embedded snapshot: unlock the cache object

It it locked when returning from vlc_object_wait/vlc_cond_wait
parent 60029aef
...@@ -94,6 +94,7 @@ mediacontrol_snapshot( mediacontrol_Instance *self, ...@@ -94,6 +94,7 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
vlc_object_release( p_vout ); vlc_object_release( p_vout );
p_snapshot = ( snapshot_t* ) p_cache->p_private; p_snapshot = ( snapshot_t* ) p_cache->p_private;
vlc_object_unlock( p_cache );
vlc_object_release( p_cache ); vlc_object_release( p_cache );
vlc_object_release( p_input ); vlc_object_release( p_input );
......
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