summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-06-07 10:55:59 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-06-07 10:55:59 +0200
commit34100ce1c702207c12d5e339d668572b06778d6c (patch)
tree2fc7bc3d983c2603989f449a97df9cfb66599fa5 /tests
parent4f0b03d3577f59522ba70c40055748ee5f96a1fb (diff)
downloadgstreamer-plugins-bad-34100ce1c702207c12d5e339d668572b06778d6c.tar.gz
tests/metadata: Don't try tags we can't handle. Fixes #584945
Diffstat (limited to 'tests')
-rw-r--r--tests/check/pipelines/metadata.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/check/pipelines/metadata.c b/tests/check/pipelines/metadata.c
index a632df448..1a16a4a71 100644
--- a/tests/check/pipelines/metadata.c
+++ b/tests/check/pipelines/metadata.c
@@ -190,7 +190,13 @@ test_tags (const gchar * tag_str)
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\"");
+#endif
}
GST_END_TEST;