nvh265sldec : flow error raised when starting a network streaming
Configuration :
- Linux + gstreamer 1.20.3
- start a server with an H265 stream (nvh265enc) with periodic IDR
- start a client : xxx ! rtpjitterbuffer ! rtph265depay ! h265parse ! queue ! nvh265sldec ! glimagesink sync=false
nvh265sldec start to decode immediately but each HEVC frame (except IDR) have a reference on the previous picture. The previous picture is unknown (because sent before the connection) => error raised and get some message like: "No short term reference picture for xxx". After 10 errors, a FLOW error is raised : the process is stopped.
If the receiver is launched before the transmitter, the fault does not occur.
I make a successfull test with nvh265sldec configured with max-errors=60 to wait the next IDR frame log file
nvh265sldec should wait an IDR frame before to start decoding