From fc6ca363c3350730a78a841464ba4d96ade02d27 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 8 Nov 2003 03:02:14 +0000 Subject: [PATCH] remove pesky g_print()s Original commit message from CVS: remove pesky g_print()s --- gst-libs/gst/video/gstvideofilter.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index b388aab..c8bb62c 100644 --- a/gst-libs/gst/video/gstvideofilter.c +++ b/gst-libs/gst/video/gstvideofilter.c @@ -175,7 +175,6 @@ gst_videofilter_sink_getcaps (GstPad *pad, GstCaps *caps) /* get list of peer's caps */ peercaps = gst_pad_get_allowed_caps (videofilter->srcpad); - //g_print("peercaps: %s\n", gst_caps_to_string(peercaps)); /* FIXME videofilter doesn't allow passthru of video formats it * doesn't understand. */ @@ -187,8 +186,6 @@ gst_videofilter_sink_getcaps (GstPad *pad, GstCaps *caps) GstCaps *fromcaps = gst_videofilter_format_get_caps(g_ptr_array_index( klass->formats,i)); - //g_print("testing caps: %s\n", gst_caps_to_string(fromcaps)); - icaps = gst_caps_intersect(fromcaps, peercaps); //if(gst_caps_is_always_compatible(fromcaps, peercaps)){ if(icaps != NULL){ @@ -309,22 +306,6 @@ gst_videofilter_init (GTypeInstance *instance, gpointer g_class) GST_DEBUG("gst_videofilter_init"); - { - GList *list; - - list = gst_element_class_get_pad_template_list (GST_ELEMENT_CLASS(g_class)); -g_print("getting pad templates from %s\n", - g_type_name(G_TYPE_FROM_CLASS(g_class))); - g_print("pad template list:"); - while(list){ - GstPadTemplate *padtempl = (GstPadTemplate*) list->data; - g_print(" %p \"%s\",", padtempl, padtempl->name_template); - list = g_list_next(list); - } - g_print("\n"); - } - - pad_template = gst_element_class_get_pad_template(GST_ELEMENT_CLASS(g_class), "sink"); g_return_if_fail(pad_template != NULL); @@ -549,8 +530,6 @@ void gst_videofilter_class_add_pad_templates (GstVideofilterClass *videofilter_c GstCaps *caps; GstElementClass *element_class = GST_ELEMENT_CLASS (videofilter_class); -g_print("adding pad templates to %s\n",g_type_name(G_TYPE_FROM_CLASS(videofilter_class))); - caps = GST_CAPS_NEW("src","video/x-raw-yuv", "width", GST_PROPS_INT_RANGE (0, G_MAXINT), "height", GST_PROPS_INT_RANGE (0, G_MAXINT), -- 2.7.4