info: fix object printing of caps features in debug log

This commit is contained in:
Tim-Philipp Müller 2013-04-01 21:23:21 +01:00
parent 5b5774b399
commit cef9018eaf

View file

@ -682,7 +682,7 @@ gst_debug_print_object (gpointer ptr)
if (*(GType *) ptr == GST_TYPE_STRUCTURE) {
return gst_info_structure_to_string ((const GstStructure *) ptr);
}
if (*(GType *) ptr == GST_TYPE_STRUCTURE) {
if (*(GType *) ptr == GST_TYPE_CAPS_FEATURES) {
return gst_caps_features_to_string ((const GstCapsFeatures *) ptr);
}
if (*(GType *) ptr == GST_TYPE_TAG_LIST) {