The src pad's caps of nvvidconv can't be set dynamically


I created a pipeline as below:

nvvidconv is between nvv4l2decoder and xvimagesink.
The pipeline works fine at the beginning, but after I set the caps of video_convert_capsfilter to another resolution not the current one(1810*1024), the render image is not correct.

Note: the resolution of nvv4l2decoder is always 1920*1080.

By default it is not supported. The caps is configured in initialization and cannot be changed in runtime. If you need the function, you may check the source code and do customization. From Jetpack 4.5.1, we have most plugins open source. Please download the package from:
Jetson Linux | NVIDIA Developer
[L4T Driver Package (BSP) Sources]