From d025d8bce0473ce8c52cc6edbe5b3f2b044d29c0 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 2 Jun 2014 10:46:21 +0200 Subject: [PATCH] Remove useless traces. --- coreapi/linphonecall.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 25be65fe4..2bf68fc99 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1462,7 +1462,6 @@ static void rendercb(void *data, const MSPicture *local, const MSPicture *remote #ifdef VIDEO_ENABLED static void video_stream_event_cb(void *user_pointer, const MSFilter *f, const unsigned int event_id, const void *args){ LinphoneCall* call = (LinphoneCall*) user_pointer; - ms_warning("In linphonecall.c: video_stream_event_cb"); switch (event_id) { case MS_VIDEO_DECODER_DECODING_ERRORS: ms_warning("Case is MS_VIDEO_DECODER_DECODING_ERRORS"); @@ -1476,6 +1475,11 @@ static void video_stream_event_cb(void *user_pointer, const MSFilter *f, const u if (call->nextVideoFrameDecoded._func != NULL) call->nextVideoFrameDecoded._func(call, call->nextVideoFrameDecoded._user_data); break; + case MS_VIDEO_DECODER_SEND_PLI: + case MS_VIDEO_DECODER_SEND_SLI: + case MS_VIDEO_DECODER_SEND_RPSI: + /* Handled internally by mediastreamer2. */ + break; default: ms_warning("Unhandled event %i", event_id); break;