Thibault Saunier [Tue, 30 May 2017 21:42:07 +0000 (17:42 -0400)]
validate: Fix json serialized object leaks
Thibault Saunier [Tue, 30 May 2017 20:15:19 +0000 (16:15 -0400)]
validate:launcher: Handle not redirecting valgrind output
Thibault Saunier [Tue, 30 May 2017 20:14:51 +0000 (16:14 -0400)]
validate:launcher: Add a way to pass arguments to the leak tracer
Thibault Saunier [Tue, 30 May 2017 20:13:08 +0000 (16:13 -0400)]
validate: Use GWeakRefs on monitor target and pipeline
Making it thread safe and more future proof (though having them point
to NULL might not be handled all around).
https://bugzilla.gnome.org/show_bug.cgi?id=782784
Thibault Saunier [Thu, 18 May 2017 13:21:41 +0000 (15:21 +0200)]
validate: monitor: Unref our weak reference to the pipeline
Thibault Saunier [Fri, 28 Apr 2017 21:02:05 +0000 (18:02 -0300)]
validate: Make accessing Scenario.pipeline thread safe
The fact that Scenario.pipeline was not accessible in a thread way lead
to the fact that all users had to take the unref the last pipeline ref
in the main thread, otherwise we were crying. This was an ugly
restriction which lead to issue when using scenario on gst-rtsp-server.
This break the API as this commit remove the GstValidateScenario.pipeline
field but it is worth it.
Edward Hervey [Thu, 25 May 2017 13:57:33 +0000 (15:57 +0200)]
scenarios: Add/Update scenarios for live contents
Edward Hervey [Thu, 25 May 2017 13:50:23 +0000 (15:50 +0200)]
validate: Implement Scenario.__repr__
Allows better debugging when looking at logs
Edward Hervey [Thu, 25 May 2017 11:55:52 +0000 (13:55 +0200)]
validate: Add live-related features to scenarios and medias
Note: The notion of "live" here is in the *content* sense and not in the
GStreamer sense.
Ex:
* A rtsp stream is always "live" in the GStreamer sense but might not always
provide live content.
* HLS/DASH streams are not "live" in the GStreamer sense but might
provide "live" content.
Some scenarios might:
* require live content
* not be compatible with live content
This patch adds two new properties for scenarios:
* live_content_required (default False) for scenarios that can only work with
live content.
* live_content_compatible (default False) for scenarios that can work with
both live and non-live content.
This patch adds support for reading a "live" property from stream_info
Víctor Manuel Jáquez Leal [Sat, 20 May 2017 10:26:31 +0000 (12:26 +0200)]
validate: g_object_newv() is deprecated
Since glib version 2.54, g_object_newv() is deprecated.
This patch changes that function with a simpler g_object_new(),
since no properties are set.
https://bugzilla.gnome.org/show_bug.cgi?id=782860
Edward Hervey [Fri, 5 May 2017 12:57:20 +0000 (14:57 +0200)]
validate-report: Don't leak GError
Edward Hervey [Fri, 5 May 2017 12:57:56 +0000 (14:57 +0200)]
validate-scenario: Don't end up with invalid action name
When replacing an action structure, also update the action name with
the (new) name from the new structure. Otherwise we end up with
a bogus name from the previous (deleted) structure.
Edward Hervey [Wed, 3 May 2017 15:57:05 +0000 (17:57 +0200)]
validate-scenario: Avoid invalid memory access
The name of the action comes directly (i.e. not copied) from the
contained GstStructure field. Therefore make sure to take that
name from the proper structure field (copied just before) and
not from an outside one.
Reynaldo H. Verdejo Pinochet [Thu, 4 May 2017 21:45:32 +0000 (14:45 -0700)]
validate: drop superfluous whitespace from cmd description
Scott D Phillips [Mon, 1 May 2017 20:51:48 +0000 (13:51 -0700)]
validate: remove const from outfolder
GOptionEntry's arg_data is of type gpointer which differs in
constness from const gchar*, so remove constness from outfolder.
This fixes a build issue with msvc.
https://bugzilla.gnome.org/show_bug.cgi?id=782031
Sebastian Dröge [Thu, 4 May 2017 15:59:42 +0000 (18:59 +0300)]
Back to development
Sebastian Dröge [Thu, 4 May 2017 15:59:14 +0000 (18:59 +0300)]
Back to development
Sebastian Dröge [Thu, 4 May 2017 12:48:44 +0000 (15:48 +0300)]
Release 1.12.0
Thibault Saunier [Sun, 30 Apr 2017 17:35:29 +0000 (14:35 -0300)]
launcher: Allow using the base launcher as a test manager
No reason to force people to subclass it in simple cases.
Thibault Saunier [Thu, 27 Apr 2017 19:45:00 +0000 (16:45 -0300)]
tools: Fix dotfile name
Sebastian Dröge [Thu, 27 Apr 2017 14:54:05 +0000 (17:54 +0300)]
Release 1.11.91
Thibault Saunier [Sun, 16 Aug 2015 11:32:04 +0000 (13:32 +0200)]
validate: Fix update_stop.scenario seek property naming
Thibault Saunier [Thu, 20 Apr 2017 13:02:58 +0000 (10:02 -0300)]
launcher:check: Ensure to set build dir before rebuilding
Edward Hervey [Tue, 11 Apr 2017 05:48:21 +0000 (07:48 +0200)]
baseclasses: Add method to set a specific list of scenarios
https://bugzilla.gnome.org/show_bug.cgi?id=781314
Reynaldo H. Verdejo Pinochet [Fri, 7 Apr 2017 20:49:32 +0000 (13:49 -0700)]
validate: drop unneeded break+concat in some string literals
Perform other related improvements while at it.
Thibault Saunier [Wed, 12 Apr 2017 14:07:44 +0000 (11:07 -0300)]
validate: Do not expect track switch to be synchronous for playbin3
And let following actions to be executed (setting the action as
INTERLACED) which will make sure the track switch happened at some
point. It means the user has to set the pipeline to PLAYING so we can
make it works but we do not have choice here I think
https://bugzilla.gnome.org/show_bug.cgi?id=781213
Sebastian Dröge [Mon, 10 Apr 2017 14:06:25 +0000 (17:06 +0300)]
Update meson.build version to 1.11.90 too
Edward Hervey [Mon, 10 Apr 2017 09:43:28 +0000 (11:43 +0200)]
validate-pad-monitor: Fix previous commit
Post-send handling was only meant for seek events
Edward Hervey [Mon, 10 Apr 2017 05:58:01 +0000 (07:58 +0200)]
pad-monitor: Safely store expected seek values
Protect the expected seek values with the same lock as the one
that will be used to read/validate the resulting segments and flush
values.
Avoids races with duplicated seeks (i.e. a seek that was already
sent and handled via another pad, such as in demuxers).
https://bugzilla.gnome.org/show_bug.cgi?id=781112
Sebastian Dröge [Fri, 7 Apr 2017 13:36:04 +0000 (16:36 +0300)]
Release 1.11.90
Reynaldo H. Verdejo Pinochet [Wed, 5 Apr 2017 22:26:31 +0000 (15:26 -0700)]
validate: scenario: fix error message on scenario parsing failure
Reynaldo H. Verdejo Pinochet [Wed, 5 Apr 2017 21:40:12 +0000 (14:40 -0700)]
validate: report: avoid pointless var & associated dup/free
Just pass the replacement string literal to _regex_replace().
Reynaldo H. Verdejo Pinochet [Wed, 5 Apr 2017 21:09:53 +0000 (14:09 -0700)]
validate: report: avoid _strdup_printf() if not needed
g_strdup() is enough for this string literal.
Reynaldo H. Verdejo Pinochet [Fri, 31 Mar 2017 22:18:09 +0000 (15:18 -0700)]
validate: report: fix description for timestamp out of range
Additionally: Fix nits in the descriptions for
SCENARIO_ACTION_EXECUTION_ISSUE and CONFIG_ACTION_TYPE
Edward Hervey [Tue, 4 Apr 2017 12:52:17 +0000 (14:52 +0200)]
validate: Improve video fakesink properties
Try to emulate a bit better a real video sink by making the video
fakesink handle/calculate/report QoS.
Also use the same lateness value as default videosink
Reynaldo H. Verdejo Pinochet [Tue, 28 Mar 2017 21:35:38 +0000 (14:35 -0700)]
validate: scenario: improve description blurb for execute-on-idle
Additionally: Fix issues in _register_action_type() documentation.
Reynaldo H. Verdejo Pinochet [Tue, 28 Mar 2017 21:01:16 +0000 (14:01 -0700)]
validate: scenario: fix msg on _lookup_feature() failure
Reynaldo H. Verdejo Pinochet [Tue, 28 Mar 2017 20:30:04 +0000 (13:30 -0700)]
validate: scenario: fix documentation for GstValidateAction
Additionally:
Improve GstValidatePrepareAction documentation
Correct one-off use of 'eos' instead of EOS.
Reynaldo H. Verdejo Pinochet [Tue, 28 Mar 2017 19:51:12 +0000 (12:51 -0700)]
validate: scenario: fix type field in description parameter
Nothing wrong with Sting though :)
Additionally: Fix typo in need-clock-sync's description
Reynaldo H. Verdejo Pinochet [Tue, 21 Mar 2017 23:22:50 +0000 (16:22 -0700)]
validate: do not check for NULL before g_free()
g_free() is NULL-safe.
Reynaldo H. Verdejo Pinochet [Mon, 20 Mar 2017 22:39:24 +0000 (15:39 -0700)]
validate: fix issues with a couple of string constants
Fix missing and/or dupplicated separators, bogus breaks, typos, etc.
Reynaldo H. Verdejo Pinochet [Mon, 20 Mar 2017 21:36:36 +0000 (14:36 -0700)]
validate: fix whitespace separators in multi-line string constants
Drop dupplicated & add missing ones
Additionally: typo fixes
Nicolas Dufresne [Sat, 4 Mar 2017 16:13:33 +0000 (11:13 -0500)]
Rename plugin filenames to match plugin names
- libgstvalidateplugin.so -> libgstvalidatetracer.so
- faultinjection -> validatefaultinjection
- gstvalidategtk -> validategtk
- ssim -> validatessim
https://bugzilla.gnome.org/show_bug.cgi?id=779344
Stefan Sauer [Fri, 3 Mar 2017 20:31:02 +0000 (21:31 +0100)]
tracer: tsplot: tune the plot style a bit
Tweak the styles and spacing. Make the title multi-line and add more info.
Reynaldo H. Verdejo Pinochet [Wed, 1 Mar 2017 23:06:59 +0000 (15:06 -0800)]
validate: report: avoid unnecessary calls to _append_printf
Additionally: simplify %format magic used for padding
Reynaldo H. Verdejo Pinochet [Wed, 1 Mar 2017 22:04:24 +0000 (14:04 -0800)]
validate: report: clarify misleading message on skipped actions
Intention is to notify that not all actions were
executed but previous message suggested none were.
Additionally: fix problems in two others
Reynaldo H. Verdejo Pinochet [Wed, 1 Mar 2017 21:49:01 +0000 (13:49 -0800)]
validate: report: fix _issue_new()'s parameter description
Stefan Sauer [Thu, 2 Mar 2017 20:27:05 +0000 (21:27 +0100)]
tracer: tsplot: ensure multiplots use same xrange
Only this way one can visually align events with buffer graphs.
Stefan Sauer [Wed, 15 Feb 2017 16:53:05 +0000 (17:53 +0100)]
tracer: tsplot: add a 3rd plot showing cycle vs. durations
This is helpful to spot time-segments where we processes slower than required
for real-time playback.
Edward Hervey [Thu, 2 Mar 2017 16:35:22 +0000 (17:35 +0100)]
validate: Make the HTTP server multi-threaded
Avoids having one test blocking all other tests
Thibault Saunier [Mon, 27 Feb 2017 15:10:49 +0000 (12:10 -0300)]
validate:launcher: Add information on media info files parsing failures
Thibault Saunier [Mon, 27 Feb 2017 15:10:16 +0000 (12:10 -0300)]
validate: Ignore more parser related fields when comparing media caps
Thibault Saunier [Mon, 20 Feb 2017 15:52:06 +0000 (12:52 -0300)]
validate: launcher: Fix the way we retrieve command name
We are now using a list of args for subprocess so just using it is simple now
Thibault Saunier [Mon, 20 Feb 2017 15:51:26 +0000 (12:51 -0300)]
validate:launcher: Fix typo in meson build definitions
Thibault Saunier [Fri, 17 Feb 2017 19:29:15 +0000 (16:29 -0300)]
validate: Fix call to decode() on a string
Reynaldo H. Verdejo Pinochet [Fri, 24 Feb 2017 22:40:25 +0000 (14:40 -0800)]
validate: fix mention to nonexistent option
Reynaldo H. Verdejo Pinochet [Fri, 24 Feb 2017 19:29:31 +0000 (11:29 -0800)]
validate: improve set-config option description
Thibault Saunier [Fri, 24 Feb 2017 20:32:16 +0000 (17:32 -0300)]
validate:launcher: Fix setting meson build dir
Sebastian Dröge [Fri, 24 Feb 2017 14:00:19 +0000 (16:00 +0200)]
meson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 13:37:52 +0000 (15:37 +0200)]
Back to development
Sebastian Dröge [Fri, 24 Feb 2017 13:10:12 +0000 (15:10 +0200)]
Release 1.11.2
Thibault Saunier [Tue, 21 Feb 2017 16:39:37 +0000 (13:39 -0300)]
validate:launcher: Various fixes to make the Test class directly usable
And the launcher installed with meson usable
Thibault Saunier [Tue, 21 Feb 2017 16:38:16 +0000 (13:38 -0300)]
validate: launcher: Do not force using current module dir to run check tests
Reynaldo H. Verdejo Pinochet [Fri, 17 Feb 2017 21:37:06 +0000 (13:37 -0800)]
validate: fix multiple occurrences of 'parametter'
Reynaldo H. Verdejo Pinochet [Fri, 17 Feb 2017 21:23:34 +0000 (13:23 -0800)]
validate: fix unbalanced quotation mark in set-subtitle description
+ Remove pointless split in string literal
Thibault Saunier [Thu, 16 Feb 2017 18:12:44 +0000 (15:12 -0300)]
validate:launcher: Take ValidateAction execution as a marker of test update
Thibault Saunier [Thu, 16 Feb 2017 17:52:15 +0000 (14:52 -0300)]
validate:scenario: Report action done with the execution duration
Reynaldo H. Verdejo Pinochet [Thu, 16 Feb 2017 21:46:06 +0000 (13:46 -0800)]
validate: runner: fix error msg for duplicated runner
- Add trailing whitespace to avoid accidental concatenation
- Fix bunch of typos and some grammar while at it
Reynaldo H. Verdejo Pinochet [Thu, 16 Feb 2017 21:30:06 +0000 (13:30 -0800)]
validate: fix message on runner errors
- Add newline char to avoid accidental concatenation with
actual error message
- Fix grammar while at it
Thibault Saunier [Wed, 15 Feb 2017 21:31:38 +0000 (18:31 -0300)]
meson: Fix Gir *_prefix value to be the sames as with autotools
We want to be able to do GstValidate.Monitor and not
GstValidate.ValidateMonitor.
And do not pass header to the list of sources to build libraries as
it is not needed.
Thibault Saunier [Wed, 15 Feb 2017 21:00:00 +0000 (18:00 -0300)]
meson: Do not forget to install headers
Tim-Philipp Müller [Wed, 15 Feb 2017 00:48:26 +0000 (00:48 +0000)]
validate: pkgconfig: fix libtool-ism in uninstalled .pc file
Thibault Saunier [Wed, 15 Feb 2017 16:46:03 +0000 (13:46 -0300)]
validate:scenario: Do not switch relative track when no track of type avalaible
This case was not handled and leaded to a division by zero.
Thibault Saunier [Wed, 15 Feb 2017 15:39:18 +0000 (12:39 -0300)]
validate: meson: Add a way to disable documentation generation
Thibault Saunier [Fri, 10 Feb 2017 18:54:05 +0000 (15:54 -0300)]
validate:meson: Build gst-validate-image-check if possible
Thibault Saunier [Wed, 8 Feb 2017 20:46:23 +0000 (17:46 -0300)]
validate:launcher: Add a way to specify a set of tests to run under the leak tracer
https://bugzilla.gnome.org/show_bug.cgi?id=767856
Stefan Sauer [Fri, 10 Feb 2017 17:15:15 +0000 (18:15 +0100)]
tracer: tsplot: separate the event section
Place the events below the buffer-ts. This makes it more readable in many cases.
Stefan Sauer [Thu, 9 Feb 2017 14:52:40 +0000 (15:52 +0100)]
tracer: tools: add a brief tool description
Stefan Sauer [Thu, 9 Feb 2017 14:15:23 +0000 (15:15 +0100)]
tracer: tsplot: a new tool to draw buffer-ts vs. clock time graphs
This tool helps to inspect data flow on each pad. It shows buffer timestamps
and events in relation to wall clock.
Stefan Sauer [Sun, 5 Feb 2017 18:37:51 +0000 (19:37 +0100)]
tracer: REAME: planning update
Stefan Sauer [Sun, 5 Feb 2017 18:37:07 +0000 (19:37 +0100)]
tracer: stats: python style cleanup
Guillaume Desmottes [Tue, 7 Feb 2017 11:57:06 +0000 (12:57 +0100)]
valdate: fix element leak in overide-registry
The elements were never released once created.
https://bugzilla.gnome.org/show_bug.cgi?id=778279
Guillaume Desmottes [Tue, 7 Feb 2017 11:50:33 +0000 (12:50 +0100)]
validate: fix leak in overrides test
The runner was never released.
https://bugzilla.gnome.org/show_bug.cgi?id=778279
Guillaume Desmottes [Tue, 7 Feb 2017 11:04:45 +0000 (12:04 +0100)]
validate: fix leaks in pad monitor test
- monitors were never released
- reports were leaked
- GstValidateMediaDescriptor was leaked
- caps were leaked: gst_check_setup_events_with_stream_id() and
gst_event_new_caps() don't consume the caps
- srcpad were never released
https://bugzilla.gnome.org/show_bug.cgi?id=778279
Guillaume Desmottes [Tue, 7 Feb 2017 11:28:02 +0000 (12:28 +0100)]
validate: pad-monitor: fix caps leaks
These caps were not released when disposing the pad monitor.
https://bugzilla.gnome.org/show_bug.cgi?id=778279
Thibault Saunier [Tue, 7 Feb 2017 16:12:09 +0000 (13:12 -0300)]
validate: Mark tests as SKIPPED when installation is missing a GStreamer plugin
Thibault Saunier [Mon, 6 Feb 2017 18:51:57 +0000 (15:51 -0300)]
validate: Do not fail media check when fields are related to (decoding) elements
In the case of h264 the stream might very well be in `nal` format but the decoder
might not accept it thus the parser converts to `byte-stream`, leading
to a correct stream detection but a failure in the validate-media-check
tool.
Thibault Saunier [Mon, 6 Feb 2017 15:16:41 +0000 (12:16 -0300)]
validate:launcher: Add an option for user to modify timeout values
Allowing to expand the test timeout when running on slow platforms
Thibault Saunier [Fri, 3 Feb 2017 14:02:49 +0000 (11:02 -0300)]
validate:launcher: Verify that Gst supression file could be found
Thibault Saunier [Thu, 2 Feb 2017 18:47:30 +0000 (15:47 -0300)]
validate:meson: Add pbutils as a dependency on the video library
Guillaume Desmottes [Thu, 2 Feb 2017 13:29:30 +0000 (14:29 +0100)]
validate: meson: fix --validate-tools-path argument
The path passed to --validate-tools-path was wrong when building using
gst-build, preventing the launcher to find the validate tools.
https://bugzilla.gnome.org/show_bug.cgi?id=777982
Differential Revision: https://phabricator.freedesktop.org/D1634
Thibault Saunier [Thu, 2 Feb 2017 11:19:01 +0000 (08:19 -0300)]
validate:meson: Add pbutils as a dependency
Fixing build failure https://ci.appveyor.com/project/thiblahute/gst-build-ge9m5/build/1.0.1197
FAILED: cl @subprojects/gst-devtools/validate/gst-libs/gst/video/gstvalidatevideo@sta/gstvalidatessim.c.obj.rsp
c:\projects\gst-build-ge9m5\subprojects\gst-plugins-base\gst-libs\gst\pbutils\pbutils.h(30): fatal error C1083: Cannot open include file: 'gst/pbutils/pbutils-enumtypes.h': No such file or directory
FAILED: cl @subprojects/gst-devtools/validate/plugins/ssim/gstvalidatessim@sha/gstvalidatessim.c.obj.rsp
c:\projects\gst-build-ge9m5\subprojects\gst-plugins-base\gst-libs\gst\pbutils\pbutils.h(30): fatal error C1083: Cannot open include file: 'gst/pbutils/pbutils-enumtypes.h': No such file or directory
Thibault Saunier [Mon, 30 Jan 2017 22:22:20 +0000 (22:22 +0000)]
validate: Avoid assertion when trying to pass the config as a caps
Thibault Saunier [Tue, 31 Jan 2017 11:24:32 +0000 (08:24 -0300)]
validate: Fix build if cairo is not avalaible
Thibault Saunier [Mon, 30 Jan 2017 22:20:11 +0000 (22:20 +0000)]
validate:plugins: Handle the case where we have a pipelines with only 1 frame
Guillaume Desmottes [Tue, 31 Jan 2017 10:35:30 +0000 (11:35 +0100)]
validate: tests: call gst_validate_deinit()
gst_validate_deinit() needs to be called when the test is done to remove
false positives when using the leaks tracer.
https://bugzilla.gnome.org/show_bug.cgi?id=777977
Differential Revision: https://phabricator.freedesktop.org/D1630
Thibault Saunier [Mon, 30 Jan 2017 22:19:04 +0000 (19:19 -0300)]
validate:launcher: Allow passing extra env var to simple pipeline generator
Thibault Saunier [Mon, 30 Jan 2017 21:19:00 +0000 (21:19 +0000)]
meson:validate: Build validate plugins
Wonchul Lee [Tue, 24 Jan 2017 03:28:15 +0000 (12:28 +0900)]
validate: fix linker flags for validate plugin
https://bugzilla.gnome.org/show_bug.cgi?id=777938
Thibault Saunier [Wed, 25 Jan 2017 21:41:31 +0000 (21:41 +0000)]
validate: Handle the case where QUERY has an EMPTY caps filter
In our algorithm describing caps negotiation issues.