Added max parameter to drop data on buffer overrun with input.gstreamer.*