Hi Fiona.Chen,
Thanks for the reply. The pipeline worked, however, I observe a big leak while running the application.
I then played a simple pipeline
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:34180/stream0/mobotix.mjpeg ! rtpjpegdepay ! nvjpegdec ! fakesink
On adding nvjpegdec I observe the same leak. This is causing a big issue for me in the application. How do I solve this? Thanks.