Nvh264dec corrupted frames discarding

Hello,

I would like to know if there’s a way to discard corrupted frames on nvh264dec, I see that according to nvh264dec base class for it’s GstVideoDecoder, which have param discard-corrupted-frames, but enabling it doesn’t change its behavior.

Thanks for your help!