diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c
index bf96a040082b634bebd48a2156e9527409a97fad..61a528d2a690eadf192648e71ba8a0acca58ae40 100644
--- a/coreapi/linphonecall.c
+++ b/coreapi/linphonecall.c
@@ -1337,6 +1337,7 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
 	call->current_params.has_video=FALSE;
 	if (call->videostream!=NULL) {
 		linphone_call_start_video_stream(call,cname,all_inputs_muted);
+        call->log->video_enabled = TRUE;
 	}
 
 	call->all_muted=all_inputs_muted;
diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c
index 63be1a7fcfe90a893c6a2064fa68367144b3b180..bee7ad5fe1fabba7b51e7330df239f6175215156 100644
--- a/coreapi/linphonecore.c
+++ b/coreapi/linphonecore.c
@@ -132,6 +132,7 @@ void call_logs_write_to_config_file(LinphoneCore *lc){
 		lp_config_set_int(cfg,logsection,"duration",cl->duration);
 		if (cl->refkey) lp_config_set_string(cfg,logsection,"refkey",cl->refkey);
 		lp_config_set_float(cfg,logsection,"quality",cl->quality);
+        lp_config_set_int(cfg,logsection,"video_enabled", cl->video_enabled);
 	}
 	for(;i<lc->max_call_logs;++i){
 		snprintf(logsection,sizeof(logsection),"call_log_%i",i);
@@ -160,6 +161,7 @@ static void call_logs_read_from_config_file(LinphoneCore *lc){
 			tmp=lp_config_get_string(cfg,logsection,"refkey",NULL);
 			if (tmp) cl->refkey=ms_strdup(tmp);
 			cl->quality=lp_config_get_float(cfg,logsection,"quality",-1);
+            cl->video_enabled=lp_config_get_int(cfg,logsection,"video_enabled",0);
 			lc->call_logs=ms_list_append(lc->call_logs,cl);
 		}else break;
 	}
diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h
index ea14d159656e638e61c1f90746a4b18b365d2a8a..b7ceb87ddc12b1ad91825a67ee26013ec86eac32 100644
--- a/coreapi/linphonecore.h
+++ b/coreapi/linphonecore.h
@@ -153,6 +153,7 @@ typedef struct _LinphoneCallLog{
 	rtp_stats_t local_stats;
 	rtp_stats_t remote_stats;
 	float quality;
+    int video_enabled;
 	struct _LinphoneCore *lc;
 } LinphoneCallLog;
 
diff --git a/mediastreamer2 b/mediastreamer2
index 992399ad92032dd5da35c84ec0a14249c8af5144..513945c9781dbb9ae6905bb7fa80db2665f64d01 160000
--- a/mediastreamer2
+++ b/mediastreamer2
@@ -1 +1 @@
-Subproject commit 992399ad92032dd5da35c84ec0a14249c8af5144
+Subproject commit 513945c9781dbb9ae6905bb7fa80db2665f64d01