Some extra debug statement
authorWim Taymans <wim.taymans@gmail.com>
Thu, 23 Jan 2003 19:51:26 +0000 (19:51 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 23 Jan 2003 19:51:26 +0000 (19:51 +0000)
Original commit message from CVS:
Some extra debug statement

gst/gstelement.c

index 0ccd203..ba22905 100644 (file)
@@ -2323,6 +2323,8 @@ gst_element_change_state (GstElement *element)
   if (element->sched) {
     if (gst_scheduler_state_transition (element->sched, element, 
                                        old_transition) != GST_STATE_SUCCESS) {
+      GST_DEBUG_ELEMENT (GST_CAT_STATES, element, 
+                        "scheduler could change state");
       goto failure;
     }
   }