mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 23:30:05 +00:00
fixed READY_TO_NULL bug
Original commit message from CVS: fixed READY_TO_NULL bug
This commit is contained in:
parent
03d8077ee2
commit
54e416683a
1 changed files with 5 additions and 1 deletions
|
@ -233,8 +233,9 @@ gst_thread_change_state (GstElement *element)
|
|||
|
||||
transition = GST_STATE_TRANSITION (element);
|
||||
|
||||
GST_INFO (GST_CAT_THREAD,"thread \"%s\" changing state to %s",
|
||||
GST_INFO (GST_CAT_THREAD,"thread \"%s\" changing state to %s from %s",
|
||||
GST_ELEMENT_NAME (GST_ELEMENT (element)),
|
||||
_gst_print_statename(GST_STATE_PENDING (element)),
|
||||
_gst_print_statename(GST_STATE_PENDING (element)));
|
||||
|
||||
//GST_FLAG_UNSET (thread, GST_THREAD_STATE_SPINNING);
|
||||
|
@ -307,6 +308,9 @@ gst_thread_change_state (GstElement *element)
|
|||
GST_FLAG_UNSET(thread,GST_THREAD_STATE_SPINNING);
|
||||
GST_FLAG_UNSET(thread,GST_THREAD_STATE_ELEMENT_CHANGED);
|
||||
|
||||
if (GST_ELEMENT_CLASS (parent_class)->change_state)
|
||||
stateset = GST_ELEMENT_CLASS (parent_class)->change_state (thread);
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue