diff -r 2af89a257a86 -r 4712c96954be gst-gmyth/nuvdemux/gstnuvdemux.c --- a/gst-gmyth/nuvdemux/gstnuvdemux.c Wed May 16 18:48:13 2007 +0100 +++ b/gst-gmyth/nuvdemux/gstnuvdemux.c Fri May 18 23:29:00 2007 +0100 @@ -1583,6 +1583,7 @@ { GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS; + g_debug ("Nuvdemux state_change"); switch (transition) { case GST_STATE_CHANGE_NULL_TO_READY: gst_nuv_demux_reset (GST_NUV_DEMUX (element)); @@ -1592,11 +1593,16 @@ break; } + g_debug ("Nuvdemux state_change: 1"); + ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); if (ret == GST_STATE_CHANGE_FAILURE) { goto done; } + + g_debug ("Nuvdemux state_change: 2"); + switch (transition) { case GST_STATE_CHANGE_READY_TO_NULL: gst_nuv_demux_reset (GST_NUV_DEMUX (element)); @@ -1606,6 +1612,9 @@ break; } + + g_debug ("Nuvdemux state_change: DONE"); + done: return ret; }