uridecodebin failed to adapt encode resolution changed but rtph265depay+h265parse+nvv4l2decoder success
Hi, I'm using GStreamer 1.14.5 to render the RTSP stream, which could change its resolution randomly.
ok pipeline (work success):
gst-launch-1.0 rtspsrc location=URI ! rtph265depay ! h265parse ! nvv4l2decoder ! nvvideoconvert ! autovideosink
failure pipeline (rendering gets stuck if the resolution changed):
gst-launch-1.0 uridecodebin uri=URI ! nvvideoconvert ! autovideosink
I found the latter pipeline has no caps event pop out when the resolution changed, how can i get through this?