Original commit message from CVS:
log caps
This commit is contained in:
Thomas Vander Stichele 2005-11-28 14:02:54 +00:00
parent b3ac5a0f4e
commit 275498ed35
2 changed files with 6 additions and 2 deletions

View file

@ -154,9 +154,9 @@ gst_capsfilter_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_FILTER_CAPS:{
const GstCaps *new_caps_val = gst_value_get_caps (value);
GstCaps *new_caps;
GstCaps *old_caps;
const GstCaps *new_caps_val = gst_value_get_caps (value);
if (new_caps_val == NULL) {
new_caps = gst_caps_new_any ();
@ -168,6 +168,8 @@ gst_capsfilter_set_property (GObject * object, guint prop_id,
capsfilter->filter_caps = new_caps;
gst_caps_unref (old_caps);
GST_DEBUG_OBJECT (capsfilter, "set new caps %" GST_PTR_FORMAT, new_caps);
/* FIXME: Need to activate these caps on the pads */
break;
}

View file

@ -154,9 +154,9 @@ gst_capsfilter_set_property (GObject * object, guint prop_id,
switch (prop_id) {
case PROP_FILTER_CAPS:{
const GstCaps *new_caps_val = gst_value_get_caps (value);
GstCaps *new_caps;
GstCaps *old_caps;
const GstCaps *new_caps_val = gst_value_get_caps (value);
if (new_caps_val == NULL) {
new_caps = gst_caps_new_any ();
@ -168,6 +168,8 @@ gst_capsfilter_set_property (GObject * object, guint prop_id,
capsfilter->filter_caps = new_caps;
gst_caps_unref (old_caps);
GST_DEBUG_OBJECT (capsfilter, "set new caps %" GST_PTR_FORMAT, new_caps);
/* FIXME: Need to activate these caps on the pads */
break;
}