# HG changeset patch # User renatofilho # Date 1179513409 -3600 # Node ID 726550e48c211231e669e9f84833a834c1fc03a0 # Parent ba11bfc5f23964b1c4d30f2e9fd577ae0970f0c2 [svn r697] removed debug messages diff -r ba11bfc5f239 -r 726550e48c21 gmyth-stream/gmemcoder/src/gmencoder.c --- a/gmyth-stream/gmemcoder/src/gmencoder.c Fri May 18 16:16:30 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/gmencoder.c Fri May 18 19:36:49 2007 +0100 @@ -400,7 +400,6 @@ GstCaps *vcaps; vrate = gst_element_factory_make ("videorate", "vrate"); - g_debug ("Setting FPS: %.2f", fps); gst_bin_add (GST_BIN (vbin), vrate); if (gst_element_link (vcolorspace, vrate) == FALSE) { @@ -570,7 +569,6 @@ priv->sources++; ret = TRUE; - g_debug ("Uri: [%s] OK ", uri); error: if ((src != NULL) && (ret == FALSE)) { @@ -630,15 +628,13 @@ GMencoderPrivate *priv = G_MENCODER_GET_PRIVATE (self); - g_debug ("g_mencoder_close_stream"); if (priv->tick_id != 0) { g_source_remove (priv->tick_id); priv->tick_id = 0; } if (priv->pipe != NULL) { - GstState state; - GstState pending; + //TODO: fixe pipeline dispose //gst_element_set_state (priv->pipe, GST_STATE_NULL); //gst_object_unref (priv->pipe); gst_object_unref (priv->src); @@ -948,13 +944,11 @@ err_str = g_strdup_printf ("Error [%d] %s (%s)", error->code, error->message, debug); - g_debug ("%s", err_str); priv->ready = FALSE; g_signal_emit (user_data, g_mencoder_signals[ERROR], 0, err_str); g_free (err_str); g_clear_error (&error); g_free (debug); - g_debug ("ERROR DONE"); break; } @@ -994,7 +988,6 @@ caps = gst_pad_get_caps (pad); str_caps = gst_caps_to_string (caps); - g_debug ("New pad : %s", str_caps); if (strstr (str_caps, "audio") != NULL) { sink_element = gst_bin_get_by_name (GST_BIN (user_data), "aqueue"); } else if (strstr (str_caps, "video") != NULL) { diff -r ba11bfc5f239 -r 726550e48c21 gmyth-stream/gmemcoder/src/main.c --- a/gmyth-stream/gmemcoder/src/main.c Fri May 18 16:16:30 2007 +0100 +++ b/gmyth-stream/gmemcoder/src/main.c Fri May 18 19:36:49 2007 +0100 @@ -30,7 +30,6 @@ static gboolean _quit (gpointer data) { - g_debug ("Quit"); g_object_unref (data); g_main_loop_quit (mainloop); return FALSE;