FS-7517: add warning dropped from 0353e45 back in case it still happens

This commit is contained in:
Seven Du 2014-12-11 14:19:22 +08:00 committed by Michael Jerris
parent a50789f97f
commit f6484f5bf4
1 changed files with 6 additions and 0 deletions

View 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;