gst/gstinterface.c: Don't crash if the element supports the interface queried, but...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 29 Feb 2008 18:38:54 +0000 (18:38 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 29 Feb 2008 18:38:54 +0000 (18:38 +0000)
commit97bf2d2d78ef64619418527cf03e6960bab69467
tree54974c4cf47245ecc267773ec3194e4904dd8bc7
parentf3850aca810d61c28ec7c7e197123b6f4ace6a8d
gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn...

Original commit message from CVS:
* gst/gstinterface.c: (gst_element_implements_interface):
Don't crash if the element supports the interface queried, but does
not implement GstImplementsInterface. Fixes #519584.
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstinterface.c:
Add unit test for the above.
ChangeLog
common
gst/gstinterface.c
tests/check/Makefile.am
tests/check/gst/.gitignore
tests/check/gst/gstinterface.c [new file with mode: 0644]