gstreamer/subprojects/gstreamer/tools
Thomas Goodwin fde2495218 gst-inspect: fix --atleast-version to be implicitly applied to --exists
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>
2024-03-20 21:19:07 +00:00
..
gst-inspect-1.0.1 gst: Delete inoperative ARG_PLUGIN_SPEW 2023-04-21 12:35:39 +00:00
gst-inspect.c gst-inspect: fix --atleast-version to be implicitly applied to --exists 2024-03-20 21:19:07 +00:00
gst-launch-1.0.1 gst: Delete inoperative ARG_PLUGIN_SPEW 2023-04-21 12:35:39 +00:00
gst-launch.c gst-launch: accept option to set program name 2024-01-12 17:11:11 +00:00
gst-stats-1.0.1 Move files from gstreamer into the "subprojects/gstreamer/" subdir 2021-09-24 16:13:07 -03:00
gst-stats.c gst-stats: Add argument for a custom regexp 2023-08-25 21:43:36 +00:00
gst-typefind-1.0.1 gst: Delete inoperative ARG_PLUGIN_SPEW 2023-04-21 12:35:39 +00:00
gst-typefind.c tools: Count argc after parsing GOption on Windows 2023-03-31 18:11:52 +00:00
meson.build gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00
tools.h Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00