From e73d6676d104da9692564e2e0df3dac507d36724 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 17 Jul 2014 11:44:51 +0200 Subject: [PATCH] Handle MS_VIDEO_DECODER_RECOVERED_FROM_ERRORS events. --- coreapi/linphonecall.c | 8 +++++++- mediastreamer2 | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index d78867bfd..15df7990b 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1578,12 +1578,18 @@ static void video_stream_event_cb(void *user_pointer, const MSFilter *f, const u LinphoneCall* call = (LinphoneCall*) user_pointer; switch (event_id) { case MS_VIDEO_DECODER_DECODING_ERRORS: - ms_warning("Case is MS_VIDEO_DECODER_DECODING_ERRORS"); + ms_warning("MS_VIDEO_DECODER_DECODING_ERRORS"); 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_RECOVERED_FROM_ERRORS: + ms_message("MS_VIDEO_DECODER_RECOVERED_FROM_ERRORS"); + if (call->videostream) { + video_stream_decoding_error_recovered(call->videostream); + } + break; case MS_VIDEO_DECODER_FIRST_IMAGE_DECODED: ms_message("First video frame decoded successfully"); if (call->nextVideoFrameDecoded._func != NULL) diff --git a/mediastreamer2 b/mediastreamer2 index aa511d1ba..8a55c6ea6 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit aa511d1ba37bea8e65983374f2968856bf109a6a +Subproject commit 8a55c6ea69456f876fedd4b28594fe0c5c413860