mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Change some g_prints to GST_DEBUG
Original commit message from CVS: Change some g_prints to GST_DEBUG
This commit is contained in:
parent
6511cd71bb
commit
48b6f2010e
1 changed files with 2 additions and 4 deletions
|
@ -304,7 +304,7 @@ gst_videofilter_sink_link (GstPad *pad, GstCaps *caps)
|
||||||
}
|
}
|
||||||
|
|
||||||
videofilter->format = gst_videofilter_find_format_by_caps (videofilter,caps);
|
videofilter->format = gst_videofilter_find_format_by_caps (videofilter,caps);
|
||||||
g_print("sink_link: %s\n",gst_caps_to_string(caps));
|
GST_DEBUG("sink_link: %s\n",gst_caps_to_string(caps));
|
||||||
g_return_val_if_fail(videofilter->format, GST_PAD_LINK_REFUSED);
|
g_return_val_if_fail(videofilter->format, GST_PAD_LINK_REFUSED);
|
||||||
|
|
||||||
gst_caps_get_int (caps, "width", &videofilter->from_width);
|
gst_caps_get_int (caps, "width", &videofilter->from_width);
|
||||||
|
@ -319,7 +319,7 @@ gst_videofilter_sink_link (GstPad *pad, GstCaps *caps)
|
||||||
gst_caps_set(peercaps, "height", GST_PROPS_INT (videofilter->to_height));
|
gst_caps_set(peercaps, "height", GST_PROPS_INT (videofilter->to_height));
|
||||||
gst_caps_set(peercaps, "framerate", GST_PROPS_FLOAT (videofilter->framerate));
|
gst_caps_set(peercaps, "framerate", GST_PROPS_FLOAT (videofilter->framerate));
|
||||||
|
|
||||||
g_print("setting %s\n",gst_caps_to_string(peercaps));
|
GST_DEBUG("setting %s\n",gst_caps_to_string(peercaps));
|
||||||
|
|
||||||
ret = gst_pad_try_set_caps (videofilter->srcpad, peercaps);
|
ret = gst_pad_try_set_caps (videofilter->srcpad, peercaps);
|
||||||
|
|
||||||
|
@ -333,8 +333,6 @@ gst_videofilter_sink_link (GstPad *pad, GstCaps *caps)
|
||||||
//gst_videofilter_setup(videofilter);
|
//gst_videofilter_setup(videofilter);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_print("returning %d\n",ret);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue