If the set_get_param_q has been emptied we have to reset the cached
pending command to CMD_LOOP as we will not have the request parameters
anymore.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4799>
|| cmd == CMD_SET_PARAMETER) {
if (g_queue_is_empty (&src->set_get_param_q)) {
src->pending_cmd = CMD_LOOP;
+ if (cmd == CMD_GET_PARAMETER || cmd == CMD_SET_PARAMETER)
+ cmd = CMD_LOOP;
} else {
ParameterRequest *next_req;
if (cmd == CMD_GET_PARAMETER || cmd == CMD_SET_PARAMETER) {