gstreamer/subprojects/gst-devtools/validate
Alicia Boya García 506af5b8e4 gst-validate: Don't treat FALSE when sending flushes as an error
gst_element_send_event(FLUSH_START / FLUSH_STOP) returns FALSE in cases
where any of the most downstream elements have unlinked pads, even if
the pipeline is successfully flushed.

Currently this is considered expected behavior in GStreamer. This patch
updates gst-validate to treat it as such and therefore not fail the test
for a "failing" flush.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7064>
2024-07-02 19:06:02 +00:00
..
data fakevideodec: Add some tests 2023-11-17 15:57:46 +00:00
docs
gst gst-validate: Don't treat FALSE when sending flushes as an error 2024-07-02 19:06:02 +00:00
gst-libs validate: ssim: Minor debug message enhancements 2023-11-15 19:07:36 +00:00
launcher check: Add valgrind leak exception for srt test 2024-02-12 13:24:21 +00:00
plugins validate: disable plugins in static build 2023-05-31 15:17:11 +00:00
tests structure: Allow STRICT flag only in _serialize_full() 2024-02-09 15:45:33 +00:00
tools validate: tool: Use gst_macos_main 2024-06-18 22:31:40 +00:00
.gitignore
COPYING
meson.build Fix API visibility macros 2022-12-20 14:03:35 +00:00
README

== Gst-Validate

The goal of GstValidate is to be able to detect when elements are not
behaving as expected and report it to the user so he knows how things
are supposed to work inside a GstPipeline. In the end, fixing issues
found by the tool will ensure that all elements behave all together in
the expected way.

The easiest way of using GstValidate is to use one of its command-line
tools, located at tools/ directory. It is also possible to monitor
GstPipelines from any application by using the LD_PRELOAD gstvalidate
lib. The third way of using it is to write your own application that
links and uses libgstvalidate.

== BUILDING

Getting the code:

Releases are available at <URL>, download and extract the tarball. If you
want to use latest git version, do:

git clone <URI>

After cloning or extracting from a tarball, enter the gst-validate directory:

cd gst-validate

Build with:

meson build --prefix=<installation-prefix>
ninja -C build
sudo ninja -C build install (only if you want to install it)

Replace <installation-prefix> with your desired installation path, you can omit
the --prefix argument if you aren't going to install it or if you want the
default /usr/local. It is possible to use gst-validate CLI tools without
installation.

== INSTRUCTIONS

If you are looking for informations on how to use gst-validate -> docs/validate-usage.txt
If you are looking for informations on gst-validate design -> docs/validate-design.txt