diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-10-11 11:02:14 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-10-11 11:02:14 +0000 |
commit | d84cc788195f1196327f7d2cd34618eaf75b8e75 (patch) | |
tree | d69e16140c0976fab0847c025fca5a5ca51607a4 /tests | |
parent | 1854fd19a988e196cf645e1d1d807c77671a936a (diff) | |
download | gstreamer-plugins-bad-d84cc788195f1196327f7d2cd34618eaf75b8e75.tar.gz |
tests/check/pipelines/metadata.c: Make the metadata test not fail when jpegenc isn't available.... as it isn't here, ...
Original commit message from CVS:
* tests/check/pipelines/metadata.c:
Make the metadata test not fail when jpegenc isn't available....
as it isn't here, because it's not in this module, and
therefore not in the plugin path when the check runs.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/pipelines/metadata.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check/pipelines/metadata.c b/tests/check/pipelines/metadata.c index c12823fbe..4ca8179c5 100644 --- a/tests/check/pipelines/metadata.c +++ b/tests/check/pipelines/metadata.c @@ -95,7 +95,10 @@ test_tags (const gchar * tag_str) g_object_set (G_OBJECT (videotestsrc), "num-buffers", 1, NULL); jpegenc = gst_element_factory_make ("jpegenc", "enc"); - fail_unless (jpegenc != NULL); + if (jpegenc == NULL) { + g_print ("Cannot test - jpegenc not available\n"); + return; + } metadatamux = gst_element_factory_make ("metadatamux", "mux"); g_object_set (G_OBJECT (metadatamux), "exif", TRUE, NULL); |