mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
rtspsrc: Do not try send dropped get/set parameter
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>
This commit is contained in:
parent
21b18cc905
commit
89ece711dd
1 changed files with 2 additions and 0 deletions
|
@ -9346,6 +9346,8 @@ gst_rtspsrc_thread (GstRTSPSrc * src)
|
|||
|| 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) {
|
||||
|
|
Loading…
Reference in a new issue