From a4cc2294956970766a21030e488a63bbd92bf86b Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 16 Mar 2016 11:36:52 +0100 Subject: [PATCH] Audio FEC: small fix --- src/audio/audio.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/audio/audio.cpp b/src/audio/audio.cpp index 89a9c2481..dc12a3048 100644 --- a/src/audio/audio.cpp +++ b/src/audio/audio.cpp @@ -791,7 +791,9 @@ static struct response *audio_sender_process_message(struct state_audio *s, stru } break; case SENDER_MSG_CHANGE_FEC: - LOG(LOG_LEVEL_ERROR) << "Not implemented!\n"; + if (strcmp(msg->fec_cfg, "flush") != 0) { + LOG(LOG_LEVEL_ERROR) << "Not implemented!\n"; + } return new_response(RESPONSE_NOT_IMPL, NULL); } return new_response(RESPONSE_OK, NULL);