How to clear unprocessed frames in the buffer when changing the pipeline state from PAUSED to PLAYING?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson
• DeepStream Version - 6.0
• JetPack Version (valid for Jetson only) - 4.6
• TensorRT Version - 8.0
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) questions

I change the pipeline state from PLAYING to PAUSED in my application based on the sensor trigger. Looks like the buffer still have some un-processed frames left and when I set the pipeline state back to PLAYING, it first processes the un-processed frames in the buffer before processing the live feed.
I want to process only the live feed and not the un-processed frames in the buffer(It’s okay even if there’s an option to drop those). Please let me know how to achieve that.

Please refer to gstreamer community. States (gstreamer.freedesktop.org)
Events: Seeking, Navigation and More (gstreamer.freedesktop.org)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.