Thank you for patch.
But i’m not using gstreamer. My app not have crashes or memory leaks. My app based on MM API.
I found an old topic with a similar problem - Deinterlacing problem in TX2
In that thread, you suggested a patch - Deinterlacing problem in TX2 - #15 by DaneLLL
Maybe there is something similar for my release?