A problem on messages “unsupported codec, unsupported stream”

Hi,
Decoder is created through

ctx.dec = NvVideoDecoder::createVideoDecoder("dec0");

For this error, you would need ot destroy it by calling

delete ctx.dec;