mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
rtspsrc: pause the task instead of spinning
Actually pause the loop task instead of spinning forever.
This commit is contained in:
parent
fe9fb8d8a7
commit
5d0507c09e
1 changed files with 1 additions and 0 deletions
|
@ -4218,6 +4218,7 @@ pause:
|
||||||
("streaming task paused, reason %s (%d)", reason, ret));
|
("streaming task paused, reason %s (%d)", reason, ret));
|
||||||
gst_rtspsrc_push_event (src, gst_event_new_eos ());
|
gst_rtspsrc_push_event (src, gst_event_new_eos ());
|
||||||
}
|
}
|
||||||
|
gst_rtspsrc_loop_send_cmd (src, CMD_WAIT, CMD_LOOP);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue