tests/metadata: Don't try tags we can't handle. Fixes #584945

This commit is contained in:
Edward Hervey 2009-06-07 10:55:59 +02:00
parent 4f0b03d357
commit 34100ce1c7

View file

@ -190,7 +190,13 @@ test_tags (const gchar * tag_str)
GST_START_TEST (test_common_tags) GST_START_TEST (test_common_tags)
{ {
/* The title tag will only work if the XMP backend is enabled.
* And since we don't have any programmatic feedback on whether
* a tag is properly handled or not... we need to do this kind
* of hack. */
#if HAVE_XMP
test_tags ("taglist,title=\"test image\""); test_tags ("taglist,title=\"test image\"");
#endif
} }
GST_END_TEST; GST_END_TEST;