mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
fixed problem where mad wasn't an entry (it is now HACK HACK!!) and the scheduler wasn't catching the no entry case
Original commit message from CVS: fixed problem where mad wasn't an entry (it is now HACK HACK!!) and the scheduler wasn't catching the no entry case
This commit is contained in:
parent
a92336c672
commit
b619247000
1 changed files with 6 additions and 4 deletions
|
@ -1315,11 +1315,13 @@ GST_DEBUG(GST_CAT_SCHEDULING,"there are %d elements in this chain\n",chain->num_
|
||||||
while (elements) {
|
while (elements) {
|
||||||
entry = GST_ELEMENT(elements->data);
|
entry = GST_ELEMENT(elements->data);
|
||||||
elements = g_list_next(elements);
|
elements = g_list_next(elements);
|
||||||
if (GST_FLAG_IS_SET(entry,GST_ELEMENT_DECOUPLED))
|
if (GST_FLAG_IS_SET(entry,GST_ELEMENT_DECOUPLED)) {
|
||||||
GST_DEBUG(GST_CAT_SCHEDULING,"entry \"%s\" is DECOUPLED, skipping\n",GST_ELEMENT_NAME(entry));
|
GST_DEBUG(GST_CAT_SCHEDULING,"entry \"%s\" is DECOUPLED, skipping\n",GST_ELEMENT_NAME(entry));
|
||||||
else if (GST_FLAG_IS_SET(entry,GST_ELEMENT_NO_ENTRY))
|
entry = NULL;
|
||||||
|
} else if (GST_FLAG_IS_SET(entry,GST_ELEMENT_NO_ENTRY)) {
|
||||||
GST_DEBUG(GST_CAT_SCHEDULING,"entry \"%s\" is not valid, skipping\n",GST_ELEMENT_NAME(entry));
|
GST_DEBUG(GST_CAT_SCHEDULING,"entry \"%s\" is not valid, skipping\n",GST_ELEMENT_NAME(entry));
|
||||||
else
|
entry = NULL;
|
||||||
|
} else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (entry) {
|
if (entry) {
|
||||||
|
@ -1342,7 +1344,7 @@ GST_DEBUG(GST_CAT_SCHEDULING,"there are %d elements in this chain\n",chain->num_
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
GST_INFO (GST_CAT_DATAFLOW,"no entry into chain!");
|
GST_INFO (GST_CAT_DATAFLOW,"NO ENTRY INTO CHAIN!");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
GST_INFO (GST_CAT_DATAFLOW,"no entry into chain!");
|
GST_INFO (GST_CAT_DATAFLOW,"no entry into chain!");
|
||||||
|
|
Loading…
Reference in a new issue