Commit 0c389ec6 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Remove call to remove notify callback as it seems to create a segfault sometimes

parent fc47c0ef
......@@ -5361,7 +5361,6 @@ void linphone_core_migrate_logs_from_rc_to_db(LinphoneCore *lc) {
static void snapshot_taken(void *userdata, struct _MSFilter *f, unsigned int id, void *arg) {
if (id == MS_JPEG_WRITER_SNAPSHOT_TAKEN) {
LinphoneCore *lc = (LinphoneCore *)userdata;
ms_filter_remove_notify_callback(lc->previewstream->local_jpegwriter, snapshot_taken, lc);
linphone_core_enable_video_preview(lc, FALSE);
}
}
......
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