res = gst_pad_get_caps (target);
gst_object_unref (target);
- GST_DEBUG_OBJECT (pad, "get caps of target: %" GST_PTR_FORMAT, res);
+ GST_DEBUG_OBJECT (pad, "get caps of target %s:%s : %" GST_PTR_FORMAT,
+ GST_DEBUG_PAD_NAME (target), res);
/* filter against the template */
if (templ && res) {
} else
position = -1;
+ GST_LOG_OBJECT (src, "next_ts %" GST_TIME_FORMAT " size %ul",
+ GST_TIME_ARGS (position), blocksize);
+
ret = gst_base_src_get_range (src, position, blocksize, &buf);
if (G_UNLIKELY (ret != GST_FLOW_OK)) {
GST_INFO_OBJECT (src, "pausing after gst_base_src_get_range() = %s",
GST_OBJECT_UNLOCK (GST_BASE_TRANSFORM_SINK_PAD (object));
if (suggest) {
+ GST_DEBUG_OBJECT (capsfilter, "suggest new caps %" GST_PTR_FORMAT,
+ suggest);
gst_base_transform_suggest (GST_BASE_TRANSFORM (object), suggest, 0);
gst_caps_unref (suggest);
}
-
- /* FIXME: Need to activate these caps on the pads
- * http://bugzilla.gnome.org/show_bug.cgi?id=361718
- */
break;
}
default:
GST_OBJECT_UNLOCK (capsfilter);
ret = gst_caps_intersect (caps, filter_caps);
+ GST_DEBUG_OBJECT (capsfilter, "input: %" GST_PTR_FORMAT, caps);
GST_DEBUG_OBJECT (capsfilter, "filter: %" GST_PTR_FORMAT, filter_caps);
GST_DEBUG_OBJECT (capsfilter, "intersect: %" GST_PTR_FORMAT, ret);
if (GST_BUFFER_CAPS (input) != NULL) {
/* Output buffer already has caps */
- GST_DEBUG_OBJECT (trans,
- "Input buffer already has caps (implicitely fixed)");
+ GST_LOG_OBJECT (trans, "Input buffer already has caps (implicitely fixed)");
/* FIXME : Move this behaviour to basetransform. The given caps are the ones
* of the source pad, therefore our outgoing buffers should always have
* those caps. */