mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
remove pesky g_print()s
Original commit message from CVS: remove pesky g_print()s
This commit is contained in:
parent
fc71bee2db
commit
fc6ca363c3
1 changed files with 0 additions and 21 deletions
|
@ -175,7 +175,6 @@ gst_videofilter_sink_getcaps (GstPad *pad, GstCaps *caps)
|
||||||
|
|
||||||
/* get list of peer's caps */
|
/* get list of peer's caps */
|
||||||
peercaps = gst_pad_get_allowed_caps (videofilter->srcpad);
|
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
|
/* FIXME videofilter doesn't allow passthru of video formats it
|
||||||
* doesn't understand. */
|
* 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(
|
GstCaps *fromcaps = gst_videofilter_format_get_caps(g_ptr_array_index(
|
||||||
klass->formats,i));
|
klass->formats,i));
|
||||||
|
|
||||||
//g_print("testing caps: %s\n", gst_caps_to_string(fromcaps));
|
|
||||||
|
|
||||||
icaps = gst_caps_intersect(fromcaps, peercaps);
|
icaps = gst_caps_intersect(fromcaps, peercaps);
|
||||||
//if(gst_caps_is_always_compatible(fromcaps, peercaps)){
|
//if(gst_caps_is_always_compatible(fromcaps, peercaps)){
|
||||||
if(icaps != NULL){
|
if(icaps != NULL){
|
||||||
|
@ -309,22 +306,6 @@ gst_videofilter_init (GTypeInstance *instance, gpointer g_class)
|
||||||
|
|
||||||
GST_DEBUG("gst_videofilter_init");
|
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),
|
pad_template = gst_element_class_get_pad_template(GST_ELEMENT_CLASS(g_class),
|
||||||
"sink");
|
"sink");
|
||||||
g_return_if_fail(pad_template != NULL);
|
g_return_if_fail(pad_template != NULL);
|
||||||
|
@ -549,8 +530,6 @@ void gst_videofilter_class_add_pad_templates (GstVideofilterClass *videofilter_c
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
GstElementClass *element_class = GST_ELEMENT_CLASS (videofilter_class);
|
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",
|
caps = GST_CAPS_NEW("src","video/x-raw-yuv",
|
||||||
"width", GST_PROPS_INT_RANGE (0, G_MAXINT),
|
"width", GST_PROPS_INT_RANGE (0, G_MAXINT),
|
||||||
"height", GST_PROPS_INT_RANGE (0, G_MAXINT),
|
"height", GST_PROPS_INT_RANGE (0, G_MAXINT),
|
||||||
|
|
Loading…
Reference in a new issue