summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-03-10 21:08:34 +0200
committerStefan Kost <ensonic@users.sf.net>2009-03-10 21:13:40 +0200
commit36205e7d42c81ea19dc7eb42c968b701ffc71e29 (patch)
tree98e0ea6a2a4bf13a69736781230e51b8cd97d933 /plugins
parent01dfca40f12cb9d9e81035a426000f9575bd2b4e (diff)
logging: some additional logging for tracing caps negotiation.
Demote one log that can come quite often. Remove one fixme that is done. Apply gst-indent changes.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstcapsfilter.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c
index e5597ec048..afa1ff541c 100644
--- a/plugins/elements/gstcapsfilter.c
+++ b/plugins/elements/gstcapsfilter.c
@@ -201,13 +201,11 @@ gst_capsfilter_set_property (GObject * object, guint prop_id,
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:
@@ -256,6 +254,7 @@ gst_capsfilter_transform_caps (GstBaseTransform * base,
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);
@@ -301,8 +300,7 @@ gst_capsfilter_prepare_buf (GstBaseTransform * trans, GstBuffer * input,
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. */