mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
make that error message more useful, it kept confusing me
Original commit message from CVS: make that error message more useful, it kept confusing me
This commit is contained in:
parent
7f5dc1299b
commit
fb14f53284
1 changed files with 3 additions and 3 deletions
|
@ -2264,11 +2264,11 @@ gst_element_set_state (GstElement *element, GstElementState state)
|
|||
/* if it did not, this is an error - fix the element that does this */
|
||||
if (GST_STATE (element) != curpending) {
|
||||
g_warning ("element %s claimed state-change success,"
|
||||
"but state didn't change %s, %s <-> %s, fix the element",
|
||||
"but state didn't change to %s. State is %s (%s pending), fix the element",
|
||||
GST_ELEMENT_NAME (element),
|
||||
gst_element_state_get_name (curpending),
|
||||
gst_element_state_get_name (GST_STATE (element)),
|
||||
gst_element_state_get_name (GST_STATE_PENDING (element)),
|
||||
gst_element_state_get_name (curpending));
|
||||
gst_element_state_get_name (GST_STATE_PENDING (element)));
|
||||
return GST_STATE_FAILURE;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue