My pipeline when start receiving the stream in the udpsrc will switch input from the videotestsrc to the vaapih264dec.
The problem that I experienced is about a remarkable delay on the rendering time. This delay is present when vaapisink sync=true but it is not present when is sync=false.
From my understanding that issue is related to the TS and the vaapi sink.
Could you provide any suggestion how to diagnostic this issue?
When I switch from one input to another one I need to send a re-configuration event? A new Segment event? Or something else?
“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” - Tony Hoare