Re: Pipeline freeze if one of the input is inactive
By setting async-handling=true property in decodebin helps pipeline to go to playing state but latency message is posted by dec2 very frequently. This leads to latency redistribution. CPU utilisation goes high due to repeated latency message distribution.
I Further digged into code latency is posted by the bin's base function gst_bin_change_state_func in GST_STATE_PLAYING state change. Why this function is called again and again for dec2 decodebin ??