Nvv4l2h264enc won't work since caps changed

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.0.0.1
• NVIDIA GPU Driver Version (valid for GPU only) 515
• Issue Type( questions, new requirements, bugs) bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

gst-launch-1.0 urisourcbin uri=“rtsp://xxx” ! decodebin ! nvvideoconvert ! nvv4l2h264enc ! filesink location=“test.h264”
change the source video framerate when pipeline is running

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

if this rtsp stream apply 30/1 fps at first, some how fps changed to 25/1 fps or something else which triggered the pipeline renegotiated with new caps, nvv4l2h264enc won’t produce any buffer to filesink. it’s only accept buffer on it’s sinkpad but not any buffer on it’s srcpad produced.

Can you capture the stream into TS stream or other kinds of video for us to reproduce the problem?

Can u reproduced this problem with this ts stream?

I can reproduce the issue. We will investigate the problem and get back once there is any progress.