Silly mistake - this was causing max delay not to be reported for
some packet losses. I noticed it while going through the vlc run logs today. The incorrect "if" condition had (packet loss & this packet had max. queue delay) - changed it to (packet loss & report the last seen max. queue delay). This wasn't affecting the results though - the vlc results still look the same!