GNOME Bugzilla – Bug 337702
gst_check_setup_sink_pad asserts refcount wrongly
Last modified: 2006-04-21 09:48:23 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?
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