diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index bb0e8c619..c80810ba4 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1404,7 +1404,10 @@ static void video_stream_event_cb(void *user_pointer, const MSFilter *f, const u switch (event_id) { case MS_VIDEO_DECODER_DECODING_ERRORS: ms_warning("Case is MS_VIDEO_DECODER_DECODING_ERRORS"); - linphone_call_send_vfu_request(call); + if (call->videostream && (video_stream_is_decoding_error_to_be_reported(call->videostream, 5000) == TRUE)) { + video_stream_decoding_error_reported(call->videostream); + linphone_call_send_vfu_request(call); + } break; case MS_VIDEO_DECODER_FIRST_IMAGE_DECODED: ms_message("First video frame decoded successfully"); diff --git a/mediastreamer2 b/mediastreamer2 index 2f942b812..a090ff068 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 2f942b81247ec49050200e8f631ee87d868edfba +Subproject commit a090ff06894bcb1487b53c39714593aad9d3f77d