]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7517: add warning dropped from 0353e45 back in case it still happens
authorSeven Du <dujinfang@gmail.com>
Thu, 11 Dec 2014 06:19:22 +0000 (14:19 +0800)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:52 +0000 (12:46 -0500)
src/mod/codecs/mod_openh264/mod_openh264.cpp

index 24ae9c811f41b6f8e82ce49e854720354a6ccedd..6db8e83b69e74c216edc15255a3ad343d5a2289c 100644 (file)
@@ -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;