Commit 15463713 authored by Jean-Paul Saman's avatar Jean-Paul Saman

libvlc: delete callback in media_player_release.

parent 3fa0d24d
......@@ -454,6 +454,11 @@ void libvlc_media_player_release( libvlc_media_player_t *p_mi )
return;
}
vlc_mutex_unlock( &p_mi->object_lock );
/* Detach Callback from the main libvlc object */
var_DelCallback( p_mi->p_libvlc_instance->p_libvlc_int,
"vout-snapshottaken", SnapshotTakenCallback, p_mi );
vlc_mutex_destroy( &p_mi->object_lock );
release_input_thread( p_mi, true );
......
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