gst/gstelement.c: Well, actually, I was about to remove this insane assert when

Original commit message from CVS:
* gst/gstelement.c: (gst_element_change_state):
Well, actually, I was about to remove this insane assert when
I noticed Wim already did that. A warning is nice so we can
fix actual ugs (using --g-fatal-warnings and backtraces), so
I added that instead.
This commit is contained in:
Ronald S. Bultje 2004-09-06 18:47:14 +00:00
parent 5905655ead
commit bd2d8d6e6a
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2004-09-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstelement.c: (gst_element_change_state):
Well, actually, I was about to remove this insane assert when
I noticed Wim already did that. A warning is nice so we can
fix actual ugs (using --g-fatal-warnings and backtraces), so
I added that instead.
2004-09-06 Wim Taymans <wim@fluendo.com>
* gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),

View file

@ -3014,6 +3014,9 @@ gst_element_change_state (GstElement * element)
* - a new state was added
* - somehow the element was asked to jump across an intermediate state
*/
g_warning ("Unhandled state change from %s to %s",
gst_element_state_get_name (old_state),
gst_element_state_get_name (old_pending));
break;
}