1.1 --- a/gmyth-stream/gmemcoder/src/gmencoder.c Fri May 18 16:16:30 2007 +0100
1.2 +++ b/gmyth-stream/gmemcoder/src/gmencoder.c Fri May 18 19:36:49 2007 +0100
1.3 @@ -400,7 +400,6 @@
1.4 GstCaps *vcaps;
1.5 vrate = gst_element_factory_make ("videorate", "vrate");
1.6
1.7 - g_debug ("Setting FPS: %.2f", fps);
1.8 gst_bin_add (GST_BIN (vbin), vrate);
1.9
1.10 if (gst_element_link (vcolorspace, vrate) == FALSE) {
1.11 @@ -570,7 +569,6 @@
1.12
1.13 priv->sources++;
1.14 ret = TRUE;
1.15 - g_debug ("Uri: [%s] OK ", uri);
1.16 error:
1.17
1.18 if ((src != NULL) && (ret == FALSE)) {
1.19 @@ -630,15 +628,13 @@
1.20
1.21 GMencoderPrivate *priv = G_MENCODER_GET_PRIVATE (self);
1.22
1.23 - g_debug ("g_mencoder_close_stream");
1.24 if (priv->tick_id != 0) {
1.25 g_source_remove (priv->tick_id);
1.26 priv->tick_id = 0;
1.27 }
1.28
1.29 if (priv->pipe != NULL) {
1.30 - GstState state;
1.31 - GstState pending;
1.32 + //TODO: fixe pipeline dispose
1.33 //gst_element_set_state (priv->pipe, GST_STATE_NULL);
1.34 //gst_object_unref (priv->pipe);
1.35 gst_object_unref (priv->src);
1.36 @@ -948,13 +944,11 @@
1.37 err_str = g_strdup_printf ("Error [%d] %s (%s)", error->code,
1.38 error->message,
1.39 debug);
1.40 - g_debug ("%s", err_str);
1.41 priv->ready = FALSE;
1.42 g_signal_emit (user_data, g_mencoder_signals[ERROR], 0, err_str);
1.43 g_free (err_str);
1.44 g_clear_error (&error);
1.45 g_free (debug);
1.46 - g_debug ("ERROR DONE");
1.47 break;
1.48 }
1.49
1.50 @@ -994,7 +988,6 @@
1.51
1.52 caps = gst_pad_get_caps (pad);
1.53 str_caps = gst_caps_to_string (caps);
1.54 - g_debug ("New pad : %s", str_caps);
1.55 if (strstr (str_caps, "audio") != NULL) {
1.56 sink_element = gst_bin_get_by_name (GST_BIN (user_data), "aqueue");
1.57 } else if (strstr (str_caps, "video") != NULL) {
2.1 --- a/gmyth-stream/gmemcoder/src/main.c Fri May 18 16:16:30 2007 +0100
2.2 +++ b/gmyth-stream/gmemcoder/src/main.c Fri May 18 19:36:49 2007 +0100
2.3 @@ -30,7 +30,6 @@
2.4 static gboolean
2.5 _quit (gpointer data)
2.6 {
2.7 - g_debug ("Quit");
2.8 g_object_unref (data);
2.9 g_main_loop_quit (mainloop);
2.10 return FALSE;