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

libvlc: delete callback in media_player_release.

(cherry picked from commit 15463713)
parent e8efd051
......@@ -455,6 +455,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