mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-01 12:20:42 +00:00
tests: simple-launch-lines: remove use of unused HAVE_LIBVISUAL define
This is not set anywhere, and it's pretty clear the pipeline in question has not been tested in a long time. Disable test with a FIXME, test needs to be rewritten to not use real output devices.
This commit is contained in:
parent
f357c55587
commit
574d097d43
|
@ -120,12 +120,23 @@ GST_START_TEST (test_element_negotiation)
|
||||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||||
GST_MESSAGE_UNKNOWN);
|
GST_MESSAGE_UNKNOWN);
|
||||||
|
|
||||||
#ifdef HAVE_LIBVISUAL
|
/* FIXME: don't use real audio/video outputs */
|
||||||
s = "audiotestsrc num-buffers=30 ! tee name=t ! alsasink t. ! audioconvert ! "
|
#if 0
|
||||||
"libvisual_lv_scope ! videoconvert ! xvimagesink";
|
{
|
||||||
run_pipeline (setup_pipeline (s), s,
|
gboolean have_libvisual_lv_scope;
|
||||||
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
|
||||||
GST_MESSAGE_UNKNOWN);
|
have_libvisual_lv_scope =
|
||||||
|
gst_registry_check_feature_version (gst_registry_get (),
|
||||||
|
"libvisual_lv_scope", GST_VERSION_MAJOR, GST_VERSION_MINOR, 0);
|
||||||
|
|
||||||
|
if (have_libvisual_lv_scope) {
|
||||||
|
s = "audiotestsrc num-buffers=30 ! tee name=t ! alsasink t. ! "
|
||||||
|
"audioconvert ! libvisual_lv_scope ! videoconvert ! xvimagesink";
|
||||||
|
run_pipeline (setup_pipeline (s), s,
|
||||||
|
GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
|
||||||
|
GST_MESSAGE_UNKNOWN);
|
||||||
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue