After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589524 - gst_base_transform_acceptcaps() could provide more verbose debugging output
gst_base_transform_acceptcaps() could provide more verbose debugging output
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-23 19:10 UTC by Kipp
Modified: 2009-07-28 18:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add two extra GST_DEBUG_OBJECT() messages (688 bytes, patch)
2009-07-23 19:13 UTC, Kipp
committed Details | Review

Description Kipp 2009-07-23 19:10:58 UTC
I think gst_base_transform_acceptcaps() used to provide more debugging output than it currently does, or at least I have found myself needing to add a couple of extra messages to figure out what's wrong with some capsfilter elements that refuse to negotiate a format.
Comment 1 Kipp 2009-07-23 19:13:13 UTC
Created attachment 139099 [details] [review]
add two extra GST_DEBUG_OBJECT() messages

Add two extra debugging messages:  one to say that gst_pad_get_caps() has failed when that's why the "cannot transform caps" failure occurs, and another to print the allowed caps prior to computing the intersection so one can see why the intersection is empty when it's empty.
Comment 2 Sebastian Dröge (slomo) 2009-07-28 18:43:13 UTC
Thanks, I'll push after 0.10.24 release.

commit 1f8bf6ae6f1efbfefc27554c41fa7a96658d4b32
Author: Kipp Cannon <kcannon@ligo.caltech.edu>
Date:   Tue Jul 28 20:42:20 2009 +0200

    basetransform: Improve debug output in gst_base_transform_acceptcaps()
    
    Fixes bug #589524.