diff -r 2af89a257a86 -r 532370b91652 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 Thu May 24 21:39:38 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; }