mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 10:43:55 +00:00
validate:launcher: Do not which(None), the rtsp-server command is unset if not avalaible
https://bugzilla.gnome.org/show_bug.cgi?id=783551
This commit is contained in:
parent
905a15c014
commit
543e7a983a
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class GstValidatePlaybinTestsGenerator(GstValidatePipelineTestsGenerator):
|
||||||
os.path.basename(minfo.media_descriptor.get_clean_name()))
|
os.path.basename(minfo.media_descriptor.get_clean_name()))
|
||||||
|
|
||||||
def populate_tests(self, uri_minfo_special_scenarios, scenarios):
|
def populate_tests(self, uri_minfo_special_scenarios, scenarios):
|
||||||
test_rtsp = which(GST_VALIDATE_RTSP_SERVER_COMMAND)
|
test_rtsp = GST_VALIDATE_RTSP_SERVER_COMMAND
|
||||||
if not test_rtsp:
|
if not test_rtsp:
|
||||||
printc("\n\nRTSP server not available, you should make sure"
|
printc("\n\nRTSP server not available, you should make sure"
|
||||||
" that %s is available in your $PATH." % GST_VALIDATE_RTSP_SERVER_COMMAND,
|
" that %s is available in your $PATH." % GST_VALIDATE_RTSP_SERVER_COMMAND,
|
||||||
|
|
Loading…
Reference in a new issue