GNOME Bugzilla – Bug 556381
[icydemux] test fails with latest core
Last modified: 2008-10-15 09:39:43 UTC
the gst-plugins-good/tests/check/elements/icydemux.c test fails with latest core. This is due to the fact that, when linking two pads, two GstStructureChangeMessage's are being emitted (one just before, and one just after), both taking a reference on the pad. The test needs to be modified accordingly if testing against a 0.10.21 (or above) core.
Created attachment 120627 [details] [review] Take into account the extra references if building against latest core This patch takes into account the 2 extra references taken on the pad when building against latest core.
Or maybe we should just remove the refcount check entirely here?
Created attachment 120628 [details] [review] Just don't check the refcount After discussing with Tim and Jan about this one, this refcount check seems useless.
bon! Commit quoi!
2008-10-15 Edward Hervey <edward.hervey@collabora.co.uk> * gst/qtdemux/qtdemux.c: (qtdemux_parse_node): Remove problematic and useless refcount check. Fixes #556381
2008-10-15 Edward Hervey <edward.hervey@collabora.co.uk> * gst/qtdemux/qtdemux.c: Remove previous wrong commit * tests/check/elements/icydemux.c: (icydemux_found_pad): Remove problematic and useless refcount check. Fixes #556381