mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 11:15:31 +00:00
Fixed a dumb mistake: in gst_element_set_loop_function, it was forcing the cothread's entry function to change. This ...
Original commit message from CVS: Fixed a dumb mistake: in gst_element_set_loop_function, it was forcing the cothread's entry function to change. This is totally wrong, the create_plan function in GstBin is responsible for setting that to its own internal helper function. Code removed outright...
This commit is contained in:
parent
9120d1bd43
commit
ab45f4c930
1 changed files with 0 additions and 6 deletions
|
@ -791,10 +791,4 @@ gst_element_set_loop_function(GstElement *element,
|
|||
|
||||
/* set the NEW_LOOPFUNC flag so everyone knows to go try again */
|
||||
GST_FLAG_SET(element,GST_ELEMENT_NEW_LOOPFUNC);
|
||||
|
||||
/* if there's a threadstate, reset the function pointer */
|
||||
if (element->threadstate != NULL)
|
||||
// note that this casts a GstElement * to a char **. Ick.
|
||||
cothread_setfunc (element->threadstate, gst_element_loopfunc_wrapper,
|
||||
0, (char **)element);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue