diff -r 9e55f7e4ed6f -r 1c777fffb664 gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Wed Nov 29 17:01:37 2006 +0000 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Wed Nov 29 17:20:00 2006 +0000 @@ -349,7 +349,6 @@ static void gst_nuv_demux_init (GstNuvDemux * nuv, GstNuvDemuxClass * nuv_class) { - g_debug ("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); nuv->priv = GST_NUV_DEMUX_GET_PRIVATE (nuv); nuv->priv->sinkpad = gst_pad_new_from_static_template (&sink_template, "sink"); gst_pad_set_activate_function (nuv->priv->sinkpad, gst_nuv_demux_sink_activate); @@ -1100,10 +1099,8 @@ GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (sinkpad)); if (gst_pad_check_pull_range (sinkpad)) { - g_debug ("PULL"); res = gst_pad_activate_pull (sinkpad, TRUE); } else { - g_debug ("PUSH"); res = gst_pad_activate_push (sinkpad, TRUE); } g_object_unref (nuv); @@ -1115,7 +1112,6 @@ { GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (sinkpad)); - g_debug ("gst_nuv_demux_sink_activate_pull: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx"); if (active) { GST_DEBUG_OBJECT (nuv, "activating pull function"); nuv->priv->mode = NUV_PULL_MODE; @@ -1139,7 +1135,6 @@ { GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad)); - g_debug ("gst_nuv_demux_sink_activate_push: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx"); if (active) { GST_DEBUG_OBJECT (nuv, "activating push/chain function"); @@ -1228,7 +1223,6 @@ GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad)); GST_DEBUG_OBJECT (nuv, " gst_nuv_demux_chain function"); - g_debug (" gst_nuv_demux_chain function"); gst_adapter_push (nuv->priv->adapter, buf); gst_object_unref (nuv); @@ -1293,10 +1287,8 @@ { GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS; - g_debug ("TRANSI %d", transition); switch (transition) { case GST_STATE_CHANGE_NULL_TO_READY: - g_debug ("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxxxx= RESET"); gst_nuv_demux_reset (GST_NUV_DEMUX (element)); gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element)); break; @@ -1306,7 +1298,6 @@ ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); if (ret == GST_STATE_CHANGE_FAILURE) { - g_debug ("FFFFFFFFFFFFFFFFFFFFFAAAAAAAAAAAAAAAAAIIIIIIIIIIIIIIIIIILLLLLLLLLLLLLLLLLL"); goto done; }