Commit 9a7ba3da authored by Simon Morlat's avatar Simon Morlat
Browse files

fix crash when an event is still queued while its associated filter is being destroyed

parent 5f45d360
......@@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "mediastreamer2/msequalizer.h"
#include "mediastreamer2/msfileplayer.h"
#include "mediastreamer2/msjpegwriter.h"
#include "mediastreamer2/mseventqueue.h"
#ifdef VIDEO_ENABLED
static MSWebCam *get_nowebcam_device(){
......@@ -983,6 +984,7 @@ void linphone_call_stop_media_streams(LinphoneCall *call){
video_stream_stop(call->videostream);
call->videostream=NULL;
}
ms_event_queue_skip(call->core->msevq);
#endif
if (call->audio_profile){
......
mediastreamer2 @ ebd7ad93
Subproject commit b2ad8c3befdcb4fa8203b655f54114ad8d6c6925
Subproject commit ebd7ad9376237324b3f8fe7a78d1e3178069adfd
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