[svn r139] trunk
authorrenatofilho
Wed Nov 29 17:20:00 2006 +0000 (2006-11-29)
branchtrunk
changeset 1381c777fffb664
parent 137 9e55f7e4ed6f
child 139 92baff6356c7
[svn r139]
gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c
     1.1 --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c	Wed Nov 29 17:01:37 2006 +0000
     1.2 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c	Wed Nov 29 17:20:00 2006 +0000
     1.3 @@ -349,7 +349,6 @@
     1.4  static void
     1.5  gst_nuv_demux_init (GstNuvDemux * nuv, GstNuvDemuxClass * nuv_class)
     1.6  {
     1.7 -    g_debug ("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
     1.8    nuv->priv = GST_NUV_DEMUX_GET_PRIVATE (nuv);
     1.9    nuv->priv->sinkpad = gst_pad_new_from_static_template (&sink_template, "sink");
    1.10    gst_pad_set_activate_function (nuv->priv->sinkpad, gst_nuv_demux_sink_activate);
    1.11 @@ -1100,10 +1099,8 @@
    1.12    GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (sinkpad));
    1.13  
    1.14    if (gst_pad_check_pull_range (sinkpad)) {
    1.15 -      g_debug ("PULL");
    1.16      res = gst_pad_activate_pull (sinkpad, TRUE);
    1.17    } else {
    1.18 -      g_debug ("PUSH");
    1.19      res = gst_pad_activate_push (sinkpad, TRUE);
    1.20    }
    1.21    g_object_unref (nuv);
    1.22 @@ -1115,7 +1112,6 @@
    1.23  {
    1.24    GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (sinkpad));
    1.25  
    1.26 -  g_debug ("gst_nuv_demux_sink_activate_pull: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx");
    1.27    if (active) {
    1.28      GST_DEBUG_OBJECT (nuv, "activating pull function");
    1.29      nuv->priv->mode = NUV_PULL_MODE;
    1.30 @@ -1139,7 +1135,6 @@
    1.31  {
    1.32    GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad));
    1.33  
    1.34 -  g_debug ("gst_nuv_demux_sink_activate_push: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx");
    1.35  
    1.36    if (active) {
    1.37      GST_DEBUG_OBJECT (nuv, "activating push/chain function");
    1.38 @@ -1228,7 +1223,6 @@
    1.39    GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad));
    1.40  
    1.41    GST_DEBUG_OBJECT (nuv, " gst_nuv_demux_chain function");
    1.42 -  g_debug (" gst_nuv_demux_chain function");
    1.43    gst_adapter_push (nuv->priv->adapter, buf);
    1.44  
    1.45    gst_object_unref (nuv);
    1.46 @@ -1293,10 +1287,8 @@
    1.47  {
    1.48    GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
    1.49  
    1.50 -  g_debug ("TRANSI %d", transition);
    1.51    switch (transition) {
    1.52      case GST_STATE_CHANGE_NULL_TO_READY:
    1.53 -      g_debug ("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxxxx= RESET");        
    1.54        gst_nuv_demux_reset (GST_NUV_DEMUX (element));
    1.55        gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element));
    1.56        break;
    1.57 @@ -1306,7 +1298,6 @@
    1.58  
    1.59    ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
    1.60    if (ret == GST_STATE_CHANGE_FAILURE) {
    1.61 -      g_debug ("FFFFFFFFFFFFFFFFFFFFFAAAAAAAAAAAAAAAAAIIIIIIIIIIIIIIIIIILLLLLLLLLLLLLLLLLL");
    1.62      goto done;
    1.63    }
    1.64