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 337702 - gst_check_setup_sink_pad asserts refcount wrongly
gst_check_setup_sink_pad asserts refcount wrongly
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-08 11:08 UTC by Michael Smith
Modified: 2006-04-21 09:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Smith 2006-04-08 11:08:24 UTC
In a new test (for icydemux), I use gst_check_setup_sink_pad from a pad-added signal callback.

This asserts that the srcpad in the linked-to element is 1, which it is in all the other places that use it, but it isn't in a signal callback (I think), it's 2. 

This causes my test to fail. Should this just be removed, or should it check for refcount being 1 _or_ 2, or should I pass another parameter for 'expected refcount', or add another check function?
Comment 1 Michael Smith 2006-04-21 09:48:23 UTC
Concluded that the check is fine, it's just appropriate for a more specific use than I wanted. I implemented the appropriate code locally in my test. So, NOTABUG