mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
yes, it does return a gboolean.
Original commit message from CVS: yes, it does return a gboolean.
This commit is contained in:
parent
abf0bf9506
commit
ad6c7ef940
2 changed files with 4 additions and 16 deletions
|
@ -355,11 +355,8 @@ restart:
|
|||
while (GST_STATE_PENDING (queue) != GST_STATE_VOID_PENDING) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!\n");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
/* FIXME: gst_element_interrupt doesn't return anything
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
return;
|
||||
*/
|
||||
gst_element_interrupt (GST_ELEMENT (queue));
|
||||
goto restart;
|
||||
}
|
||||
if (GST_STATE (queue) != GST_STATE_PLAYING) {
|
||||
|
@ -442,11 +439,8 @@ restart:
|
|||
while (GST_STATE_PENDING (queue) != GST_STATE_VOID_PENDING) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!\n");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
/* FIXME: gst_element_interrupt doesn't return anything
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
return;
|
||||
*/
|
||||
gst_element_interrupt (GST_ELEMENT (queue));
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
return NULL;
|
||||
goto restart;
|
||||
}
|
||||
if (GST_STATE (queue) != GST_STATE_PLAYING) {
|
||||
|
|
|
@ -355,11 +355,8 @@ restart:
|
|||
while (GST_STATE_PENDING (queue) != GST_STATE_VOID_PENDING) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!\n");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
/* FIXME: gst_element_interrupt doesn't return anything
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
return;
|
||||
*/
|
||||
gst_element_interrupt (GST_ELEMENT (queue));
|
||||
goto restart;
|
||||
}
|
||||
if (GST_STATE (queue) != GST_STATE_PLAYING) {
|
||||
|
@ -442,11 +439,8 @@ restart:
|
|||
while (GST_STATE_PENDING (queue) != GST_STATE_VOID_PENDING) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!\n");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
/* FIXME: gst_element_interrupt doesn't return anything
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
return;
|
||||
*/
|
||||
gst_element_interrupt (GST_ELEMENT (queue));
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
return NULL;
|
||||
goto restart;
|
||||
}
|
||||
if (GST_STATE (queue) != GST_STATE_PLAYING) {
|
||||
|
|
Loading…
Reference in a new issue