From: Seven Du Date: Thu, 11 Dec 2014 06:19:22 +0000 (+0800) Subject: FS-7517: add warning dropped from 0353e45 back in case it still happens X-Git-Tag: v1.6.2~614^2~512 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6484f5bf4dabc7964d9573cb81dd8e6a801f0a9;p=thirdparty%2Ffreeswitch.git FS-7517: add warning dropped from 0353e45 back in case it still happens --- diff --git a/src/mod/codecs/mod_openh264/mod_openh264.cpp b/src/mod/codecs/mod_openh264/mod_openh264.cpp index 24ae9c811f..6db8e83b69 100644 --- a/src/mod/codecs/mod_openh264/mod_openh264.cpp +++ b/src/mod/codecs/mod_openh264/mod_openh264.cpp @@ -276,6 +276,12 @@ static switch_status_t nalu_slice(h264_codec_context_t *context, switch_frame_t switch_assert(nalu_len > 0); +#ifdef MT_ENABLED + if (nalu_len > SLICE_SIZE) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "LARGE SLICE OVER MTU %d BYTES\n", nalu_len); + } +#endif + if (nalu_len <= SLICE_SIZE) { uint8_t nalu_type;