gst/gstbin.c: better debugging

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_dispose):
better debugging
This commit is contained in:
Benjamin Otte 2004-05-03 14:45:38 +00:00
parent f9329d93f7
commit 7862a749d6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-05-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstbin.c: (gst_bin_dispose):
better debugging
2004-05-03 Johan Dahlin <johan@gnome.org> 2004-05-03 Johan Dahlin <johan@gnome.org>
* gst/schedulers/gstoptimalscheduler.c * gst/schedulers/gstoptimalscheduler.c

View file

@ -821,7 +821,7 @@ gst_bin_dispose (GObject * object)
GList *children, *orig; GList *children, *orig;
GstElement *child; GstElement *child;
GST_CAT_DEBUG (GST_CAT_REFCOUNTING, "dispose"); GST_CAT_DEBUG_OBJECT (GST_CAT_REFCOUNTING, object, "dispose");
if (gst_element_get_state (GST_ELEMENT (object)) == GST_STATE_PLAYING) if (gst_element_get_state (GST_ELEMENT (object)) == GST_STATE_PLAYING)
gst_element_set_state (GST_ELEMENT (object), GST_STATE_PAUSED); gst_element_set_state (GST_ELEMENT (object), GST_STATE_PAUSED);