mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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:
parent
5905655ead
commit
bd2d8d6e6a
2 changed files with 11 additions and 0 deletions
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue