yes, it does return a gboolean.

Original commit message from CVS:
yes, it does return a gboolean.
This commit is contained in:
Wim Taymans 2001-12-31 16:02:50 +00:00
parent abf0bf9506
commit ad6c7ef940
2 changed files with 4 additions and 16 deletions

View file

@ -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) {

View file

@ -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) {