From 0c389ec6e01f942d8b99cdaf99a64733b59f769d Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 14 Apr 2016 11:02:32 +0200 Subject: [PATCH] Remove call to remove notify callback as it seems to create a segfault sometimes --- coreapi/linphonecore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index d463fd2e0..95a98b314 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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); } }