mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
fde2495218
The --atleast-version implies --exists, but the implementation in earlier commits had the version check applied any time the --exists was checked, and the default value of the major and minor versions were set to the GStreamer major and minor versions. The resulting behavior would have gst-inspect return '1' if the plugin's version didn't match gstreamer's even when --atleast-version was not specified in the command line args. The change in this patch removes that behavior and adds tests to verify that if --exists is specified WITHOUT --atleast-version the version check will NOT be applied. If both arguments are specified and the version does not match the arg-supplied version number, a new return code of '2' is used to uniquely identify the failure. Fixes #3246 Signed-off-by: Thomas Goodwin <thomas.goodwin@laerdal.com> Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6191> |
||
---|---|---|
.. | ||
gst-inspect-1.0.1 | ||
gst-inspect.c | ||
gst-launch-1.0.1 | ||
gst-launch.c | ||
gst-stats-1.0.1 | ||
gst-stats.c | ||
gst-typefind-1.0.1 | ||
gst-typefind.c | ||
meson.build | ||
tools.h |