platform/upstream/gstreamer.git
7 years agovalidate: launcher: Allow checking if bugs linked to blacklist is fixed
Thibault Saunier [Wed, 16 Nov 2016 13:47:21 +0000 (10:47 -0300)]
validate: launcher: Allow checking if bugs linked to blacklist is fixed

7 years agovalidate:launcher: Consider wanted tests as whitelisted
Thibault Saunier [Wed, 16 Nov 2016 13:48:26 +0000 (10:48 -0300)]
validate:launcher: Consider wanted tests as whitelisted

7 years agovalidate: meson: Do not mixup gstvalidate lib and tracer plugin
Thibault Saunier [Tue, 15 Nov 2016 21:55:09 +0000 (18:55 -0300)]
validate: meson: Do not mixup gstvalidate lib and tracer plugin

Even though it is mostly the same thing in the end

7 years agovalidate:launcher: Timeout if running gdb takes too much time
Thibault Saunier [Mon, 14 Nov 2016 21:41:34 +0000 (18:41 -0300)]
validate:launcher: Timeout if running gdb takes too much time

7 years agovalidate:launcher: Allow running the testsuite N number of times
Thibault Saunier [Sat, 29 Oct 2016 14:22:31 +0000 (11:22 -0300)]
validate:launcher: Allow running the testsuite N number of times

7 years agovalidate: Remove extra buffering status prints
Thibault Saunier [Mon, 14 Nov 2016 16:05:04 +0000 (13:05 -0300)]
validate: Remove extra buffering status prints

7 years agovalidate:launcher: Fix usage in an uninstalled environment
Thibault Saunier [Wed, 9 Nov 2016 20:37:24 +0000 (17:37 -0300)]
validate:launcher: Fix usage in an uninstalled environment

7 years agovalidate: Use gst_debug_get_stack_trace instead of our implementation
Thibault Saunier [Tue, 8 Nov 2016 21:06:19 +0000 (18:06 -0300)]
validate: Use gst_debug_get_stack_trace instead of our implementation

And remove now useless config.h.meson file

7 years agovalidate:launcher: Try to generate a backtrace on segfaults
Thibault Saunier [Mon, 7 Nov 2016 20:20:09 +0000 (17:20 -0300)]
validate:launcher: Try to generate a backtrace on segfaults

7 years agovalidate:launcher: Port to Python3
Thibault Saunier [Fri, 4 Nov 2016 21:04:37 +0000 (18:04 -0300)]
validate:launcher: Port to Python3

And sync logging.py with Pitivi version

7 years agomeson: Unset the plugin paths to generate the .gir files
Thibault Saunier [Fri, 4 Nov 2016 17:45:19 +0000 (14:45 -0300)]
meson: Unset the plugin paths to generate the .gir files

Avoiding problems when using subproject:

'Failed to load plugin something.so file too short'

7 years agovalidate: report: Do not unref an object where we do not own a ref
Thibault Saunier [Thu, 3 Nov 2016 19:17:08 +0000 (16:17 -0300)]
validate: report: Do not unref an object where we do not own a ref

g_io_stream_get_output_stream is transfer none

7 years agovalidate: gir: We should not depend on GstVideo
Thibault Saunier [Thu, 3 Nov 2016 14:22:08 +0000 (11:22 -0300)]
validate: gir: We should not depend on GstVideo

We do not depend on it at all in GstValidate itself

https://bugzilla.gnome.org/show_bug.cgi?id=773898

7 years agovalidate: Allow using json-glib as a subproject
Thibault Saunier [Wed, 2 Nov 2016 11:28:27 +0000 (08:28 -0300)]
validate: Allow using json-glib as a subproject

7 years agovalidate: media check: Always print runner infos when bailing out.
Thibault Saunier [Wed, 2 Nov 2016 20:25:21 +0000 (17:25 -0300)]
validate: media check: Always print runner infos when bailing out.

7 years agovalidate:launcher: Do not try to set DISPLAY envvar to None
Thibault Saunier [Wed, 2 Nov 2016 15:43:54 +0000 (12:43 -0300)]
validate:launcher: Do not try to set DISPLAY envvar to None

7 years agomeson: update version
Tim-Philipp Müller [Tue, 1 Nov 2016 18:11:13 +0000 (18:11 +0000)]
meson: update version

7 years agoBack to development
Sebastian Dröge [Tue, 1 Nov 2016 16:53:16 +0000 (18:53 +0200)]
Back to development

7 years agoRelease 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 16:16:13 +0000 (18:16 +0200)]
Release 1.10.0

7 years agoscenarios: Simplify Makefile
Edward Hervey [Wed, 26 Oct 2016 15:58:58 +0000 (17:58 +0200)]
scenarios: Simplify Makefile

7 years agoscenarios: Add a forward key-unit trick mode scenario
Edward Hervey [Wed, 26 Oct 2016 15:51:37 +0000 (17:51 +0200)]
scenarios: Add a forward key-unit trick mode scenario

Not enabled for the time being

7 years agobaseclasses: Also check for minimum number of video-tracks
Edward Hervey [Wed, 26 Oct 2016 15:34:49 +0000 (17:34 +0200)]
baseclasses: Also check for minimum number of video-tracks

Some scenarios might only be for video files and are meaningless for
audio-only files

7 years agomeson: Don't depend on gstreamer-check-1.0 on windows
Scott D Phillips [Tue, 25 Oct 2016 15:53:59 +0000 (08:53 -0700)]
meson: Don't depend on gstreamer-check-1.0 on windows

https://bugzilla.gnome.org/show_bug.cgi?id=773114

7 years agoRevert "meson: move gstreamer-check-1.0 dependency to validate/tests/check"
Nirbheek Chauhan [Tue, 25 Oct 2016 05:22:12 +0000 (10:52 +0530)]
Revert "meson: move gstreamer-check-1.0 dependency to validate/tests/check"

This reverts commit e8e51bdad499b38d2acc0216dc124bb82b0bd72b.

Does not actually work. See:
https://bugzilla.gnome.org/show_bug.cgi?id=773114#c31

7 years agomeson: move gstreamer-check-1.0 dependency to validate/tests/check
Scott D Phillips [Fri, 21 Oct 2016 07:48:47 +0000 (00:48 -0700)]
meson: move gstreamer-check-1.0 dependency to validate/tests/check

https://bugzilla.gnome.org/show_bug.cgi?id=773114

7 years agovalidate: Blacklist failing hls tests
Edward Hervey [Tue, 18 Oct 2016 13:41:11 +0000 (15:41 +0200)]
validate: Blacklist failing hls tests

See https://bugzilla.gnome.org/show_bug.cgi?id=773159

7 years agoAlso fix link issue in the plugin with libdw
Nicolas Dufresne [Fri, 14 Oct 2016 15:05:26 +0000 (11:05 -0400)]
Also fix link issue in the plugin with libdw

7 years agoFix non-C89 code
Nicolas Dufresne [Fri, 14 Oct 2016 14:52:53 +0000 (10:52 -0400)]
Fix non-C89 code

In the automake build system we force C89 which does not allow mixing
code and declaration.

7 years agoFix missing linker flags for libdw
Nicolas Dufresne [Fri, 14 Oct 2016 14:48:16 +0000 (10:48 -0400)]
Fix missing linker flags for libdw

This was added in the meson build but was only checked and not used in
the automake build.

7 years agodebug-viewer: window: add helper to get visible range
Stefan Sauer [Mon, 10 Oct 2016 13:59:49 +0000 (15:59 +0200)]
debug-viewer: window: add helper to get visible range

Move this code to the window class, as multiple plugins are going to need it.

7 years agodegbug-viewer: models: only temporarilly modify the row for filtering
Stefan Sauer [Sun, 9 Oct 2016 10:55:59 +0000 (12:55 +0200)]
degbug-viewer: models: only temporarilly modify the row for filtering

This avoid that we have to chek the type in the getter.
Also update the comment - we need the strip since the readline call
will not strip the newline.

7 years agogst-devtools/codecanalyser: Fix typo NO_CONFIGURE should be NOCONFIGURE
William Manley [Tue, 21 Jun 2016 16:56:58 +0000 (17:56 +0100)]
gst-devtools/codecanalyser: Fix typo NO_CONFIGURE should be NOCONFIGURE

For consistency with the rest of the autogen.sh scripts.

https://bugzilla.gnome.org/show_bug.cgi?id=772616

7 years agodebug-viewer: app: Switch for rc_parse to css
Stefan Sauer [Sat, 8 Oct 2016 20:23:39 +0000 (22:23 +0200)]
debug-viewer: app: Switch for rc_parse to css

This gets us the line shading back and some size savings.

7 years agodebug-viewer: models: allow filter to check COL_MESSAGE
Stefan Sauer [Sat, 8 Oct 2016 12:49:38 +0000 (14:49 +0200)]
debug-viewer: models: allow filter to check COL_MESSAGE

COL_MESSAGE contains the message offset as an internal optimization. When
preparing a row for filters, we need to replace this. Otherwise filters
get an 'int' instead of the 'string' they expect.

7 years agovalidate: fix typo
Jinwoo Ahn [Fri, 7 Oct 2016 04:42:02 +0000 (13:42 +0900)]
validate: fix typo

https://bugzilla.gnome.org/show_bug.cgi?id=772543

7 years agovalidate: fix typo in gst-validate-report.c
Jinwoo Ahn [Wed, 5 Oct 2016 05:50:53 +0000 (14:50 +0900)]
validate: fix typo in gst-validate-report.c

parametter -> parameter

https://bugzilla.gnome.org/show_bug.cgi?id=772439

7 years agodebug-viewer: small code cleanups
Stefan Sauer [Fri, 30 Sep 2016 20:29:43 +0000 (22:29 +0200)]
debug-viewer: small code cleanups

Inline a few statements. Remove unused variables.

7 years agodebug-viewer: add a few doc strings
Stefan Sauer [Fri, 30 Sep 2016 20:31:24 +0000 (22:31 +0200)]
debug-viewer: add a few doc strings

7 years agomeson: Setup pre commit hook and fix getpluginsdir for standalone case
Thibault Saunier [Fri, 30 Sep 2016 14:35:41 +0000 (11:35 -0300)]
meson: Setup pre commit hook and fix getpluginsdir for standalone case

7 years agomeson: update version
Tim-Philipp Müller [Fri, 30 Sep 2016 13:57:27 +0000 (14:57 +0100)]
meson: update version

7 years agoRelease 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 10:06:16 +0000 (13:06 +0300)]
Release 1.9.90

7 years agomeson: Fix gtkdoc using new meson features
Thibault Saunier [Fri, 23 Sep 2016 23:40:52 +0000 (20:40 -0300)]
meson: Fix gtkdoc using new meson features

7 years agodebug-viewer: initialize all features from tuples
Stefan Sauer [Wed, 28 Sep 2016 19:19:29 +0000 (21:19 +0200)]
debug-viewer: initialize all features from tuples

Also add a first doc string about the plugin initialisation.

7 years agoformatting: run autopep8 over all files
Stefan Sauer [Wed, 28 Sep 2016 18:38:55 +0000 (20:38 +0200)]
formatting: run autopep8 over all files

We have a commit hook on the repo. Get all files to match the pep8 guidelines.

7 years agodebug-viewer: cleanup imports in plugins
Stefan Sauer [Wed, 28 Sep 2016 18:34:53 +0000 (20:34 +0200)]
debug-viewer: cleanup imports in plugins

Don't use * imports. Don't rely on package level imports.

7 years agomeson: Fix installing configured files
Thibault Saunier [Wed, 21 Sep 2016 19:41:45 +0000 (16:41 -0300)]
meson: Fix installing configured files

7 years agovalidate: Allow doting the pipeline on issue reporting
Thibault Saunier [Wed, 21 Sep 2016 19:14:59 +0000 (16:14 -0300)]
validate: Allow doting the pipeline on issue reporting

And let the user configure on what level of issues to do it
by setting the GST_VALIDATE_CONFIG env var.

Always dot on critical issues.

7 years agovalidate: Allow passing a GST_VALIDATE_CONFIG as a string
Thibault Saunier [Wed, 21 Sep 2016 19:00:18 +0000 (16:00 -0300)]
validate: Allow passing a GST_VALIDATE_CONFIG as a string

Instead of forcing user to put it in a file.
We are simply using the GstCaps synthax to parse it.

7 years agovalidate: Add a reference to the pipeline from each monitor
Thibault Saunier [Wed, 21 Sep 2016 18:48:57 +0000 (15:48 -0300)]
validate: Add a reference to the pipeline from each monitor

That will allow us to add more flexibility regarding the way
we report thing to the user and will allow us to properly make
reports per pipeline.

7 years agovalidate:launcher: Minor fix in returncode check
Thibault Saunier [Wed, 21 Sep 2016 17:10:53 +0000 (14:10 -0300)]
validate:launcher: Minor fix in returncode check

7 years agovalidate: Always print trace for critical issues
Thibault Saunier [Wed, 21 Sep 2016 17:07:29 +0000 (14:07 -0300)]
validate: Always print trace for critical issues

And take into account issue details level to generate backtrace.

7 years agovalidate: Add support for setting a report level for an issue type
Thibault Saunier [Wed, 21 Sep 2016 15:26:17 +0000 (12:26 -0300)]
validate: Add support for setting a report level for an issue type

Until now we could set report levels to the monitor, this adds support
for setting report level for the issue types too.

7 years agovalidate: transcoding: fix several error messages
Reynaldo H. Verdejo Pinochet [Mon, 26 Sep 2016 01:23:30 +0000 (18:23 -0700)]
validate: transcoding: fix several error messages

No encoders found, no static src/sink pads found and keyunit and force-stop
error conditions.

7 years agovalidate: fix grammar on subtitle-file action description
Reynaldo H. Verdejo Pinochet [Mon, 26 Sep 2016 01:03:45 +0000 (18:03 -0700)]
validate: fix grammar on subtitle-file action description

7 years agovalidate: Dump the infos about NNEs if we can not properly determine the problem
Thibault Saunier [Thu, 22 Sep 2016 18:56:24 +0000 (15:56 -0300)]
validate: Dump the infos about NNEs if we can not properly determine the problem

It should anyway be pretty interesting pieces of information.

7 years agovalidate: fix build warning in generate_unwind_trace()
Javier Martinez Canillas [Thu, 22 Sep 2016 15:37:57 +0000 (11:37 -0400)]
validate: fix build warning in generate_unwind_trace()

The unw_word_t type has different sizes for 32-bit and 64-bit, so using the
%lx format specifier on a 32-bit CPU leads to the following compile warning:

  CC       libgstvalidate_1.0_la-gst-validate-report.lo
gst-validate-report.c: In function 'generate_unwind_trace':
gst-validate-report.c:137:36: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'unw_word_t {aka unsigned int}' [-Werror=format=]
     g_string_append_printf (trace, "%s (0x%lx)\n", name, offset);

Cast to long so the %lx fomart specifier can be always used.

7 years agovalidate: Avoid checking NULL pads when generating NNE reports
Thibault Saunier [Thu, 22 Sep 2016 15:36:29 +0000 (12:36 -0300)]
validate: Avoid checking NULL pads when generating NNE reports

7 years agovalidate: fix compiler warnings
Tim-Philipp Müller [Tue, 20 Sep 2016 12:39:02 +0000 (13:39 +0100)]
validate: fix compiler warnings

gst-validate-report.c: In function ‘generate_unwind_trace’:
gst-validate-report.c:116:1: error: old-style function definition [-Werror=old-style-definition]
 generate_unwind_trace ()
 ^~~~~~~~~~~~~~~~~~~~~
gst-validate-report.c:122:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
   unw_cursor_t cursor;
   ^~~~~~~~~~~~

7 years agovalidate: Add backtraces in the reports
Thibault Saunier [Thu, 8 Sep 2016 15:53:30 +0000 (12:53 -0300)]
validate: Add backtraces in the reports

Printing them when the reporting all the details only

7 years agoconfigure: Depend on gstreamer 1.9.2.1
Sebastian Dröge [Wed, 14 Sep 2016 09:31:47 +0000 (11:31 +0200)]
configure: Depend on gstreamer 1.9.2.1

7 years agovalidate:launcher: Do not use unset sent_eos variable
Thibault Saunier [Mon, 12 Sep 2016 17:21:30 +0000 (14:21 -0300)]
validate:launcher: Do not use unset sent_eos variable

And rename class member to sent_eos_time as it is more accurate

7 years agomeson:validate:test: Properly set paths to run launcher based tests
Thibault Saunier [Fri, 9 Sep 2016 15:09:45 +0000 (12:09 -0300)]
meson:validate:test: Properly set paths to run launcher based tests

Adding a --validate-tools-path option to the launcher, allowing
to pass it from meson.

7 years agomeson: Build GstValidate as a tracer
Thibault Saunier [Thu, 8 Sep 2016 15:52:24 +0000 (12:52 -0300)]
meson: Build GstValidate as a tracer

And add version to the GStValidate shared library

7 years agovalidate: tests: Add launcher based GstValidate tests
Thibault Saunier [Wed, 7 Sep 2016 20:24:53 +0000 (17:24 -0300)]
validate: tests: Add launcher based GstValidate tests

First checking the new not negotiated error reporting code.

7 years agovalidate: launcher: Always clean all tests at the end
Thibault Saunier [Fri, 2 Sep 2016 20:39:50 +0000 (17:39 -0300)]
validate: launcher: Always clean all tests at the end

Making sure that if an exception of anything happens we will
properly clean all the tests, or at least try to.

7 years agovalidate:launcher: Allow specifying expected tests errors
Thibault Saunier [Fri, 2 Sep 2016 20:37:24 +0000 (17:37 -0300)]
validate:launcher: Allow specifying expected tests errors

In the future instead of blacklisting tests we should define
what error is expected, and this way when the bug is closed,
we will notice, also, it will allow us to check GstValidate
error reporting itself.

7 years agovalidate: Pass information about GstValidate execution over a socket
Thibault Saunier [Thu, 1 Sep 2016 20:39:38 +0000 (17:39 -0300)]
validate: Pass information about GstValidate execution over a socket

Instead of trying to parsing stdout, generate json messages and
send them over a socket so that gst-validate-launcher can properly
have informations about gst-validate subprocess execution.

7 years agovalidate: Enhance not-negotiated errors reporting
Thibault Saunier [Sun, 28 Aug 2016 23:37:05 +0000 (20:37 -0300)]
validate: Enhance not-negotiated errors reporting

Keeping negotation information around and trying to figure
out precisely why the elements could not negotied the caps
when we get a NOT_NEGOTIATED error on the bus giving the
user details about it.

7 years agovalidate:meson: Add tests
Thibault Saunier [Wed, 7 Sep 2016 13:59:22 +0000 (10:59 -0300)]
validate:meson: Add tests

7 years agovalidate:launcher: Use a xunit reporter only when explicitely specified
Thibault Saunier [Tue, 6 Sep 2016 19:21:05 +0000 (16:21 -0300)]
validate:launcher: Use a xunit reporter only when explicitely specified

7 years agovalidare: Enhance report message about wrong position
Thibault Saunier [Tue, 6 Sep 2016 13:29:27 +0000 (10:29 -0300)]
validare: Enhance report message about wrong position

7 years agovalidate:launcher: Report error and exit when a testsuite could not load
Thibault Saunier [Mon, 5 Sep 2016 15:16:59 +0000 (12:16 -0300)]
validate:launcher: Report error and exit when a testsuite could not load

Otherwise the user might end up seeing a lot of meaningless logs about
'removed' tests.

7 years agovalidate: launcher: Fix the condition to check if we need an http server
Thibault Saunier [Fri, 2 Sep 2016 20:41:32 +0000 (17:41 -0300)]
validate: launcher: Fix the condition to check if we need an http server

We could be checking if a string was in None

And use gs_string_assign when assigning the first string
without using printf like format.

7 years agovalidate: Indent report details
Thibault Saunier [Fri, 2 Sep 2016 19:24:47 +0000 (16:24 -0300)]
validate: Indent report details

7 years agovalidate:scenario: Wait for ASYNC_DONE to set async state change DONE
Thibault Saunier [Sun, 14 Aug 2016 23:03:44 +0000 (16:03 -0700)]
validate:scenario: Wait for ASYNC_DONE to set async state change DONE

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=769894

7 years agomeson: Bump version to 1.9.2
Thibault Saunier [Mon, 5 Sep 2016 15:23:35 +0000 (12:23 -0300)]
meson: Bump version to 1.9.2

And unify the name of the disable_introspection option

7 years agoBack to development
Sebastian Dröge [Thu, 1 Sep 2016 09:35:08 +0000 (12:35 +0300)]
Back to development

7 years agoRelease 1.9.2
Sebastian Dröge [Thu, 1 Sep 2016 09:35:00 +0000 (12:35 +0300)]
Release 1.9.2

7 years agolauncher: Add --dump-on-failure switch
Mathieu Duponchelle [Thu, 1 Sep 2016 01:39:18 +0000 (03:39 +0200)]
launcher: Add --dump-on-failure switch

When the test fails, it can be useful to have the log files dumped
to stdout.

https://bugzilla.gnome.org/show_bug.cgi?id=741092

7 years agovalidate: Fix launching gst-validate-launcher in a meson based uninstalled env
Thibault Saunier [Mon, 29 Aug 2016 01:12:35 +0000 (22:12 -0300)]
validate: Fix launching gst-validate-launcher in a meson based uninstalled env

7 years agomeson: Add support for building GIR when used as subproject
Thibault Saunier [Fri, 26 Aug 2016 23:06:22 +0000 (20:06 -0300)]
meson: Add support for building GIR when used as subproject

Add allow project to us it as subproject too

7 years agovalidate: Add support for Meson as alternative/parallel build system
Thibault Saunier [Fri, 5 Aug 2016 19:48:41 +0000 (15:48 -0400)]
validate: Add support for Meson as alternative/parallel build system

https://github.com/mesonbuild/meson

7 years agovalidate: Un-blacklist tests that are fixed
Edward Hervey [Sat, 13 Aug 2016 14:56:18 +0000 (16:56 +0200)]
validate: Un-blacklist tests that are fixed

the bug reports to which they report have been closed and I can't make
them fail locally.

7 years agovalidate: Blacklist more ogg files
Edward Hervey [Sat, 13 Aug 2016 13:39:18 +0000 (15:39 +0200)]
validate: Blacklist more ogg files

https://bugzilla.gnome.org/show_bug.cgi?id=769545

7 years agovalidate: Blacklist scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf
Edward Hervey [Fri, 12 Aug 2016 10:30:41 +0000 (12:30 +0200)]
validate: Blacklist scrub_forward_seeking.op2b-mpeg2-wave_hd_mxf

See https://bugzilla.gnome.org/show_bug.cgi?id=764025

7 years agovalidate: use new API when switching track with playbin3
Guillaume Desmottes [Thu, 28 Jul 2016 07:47:42 +0000 (09:47 +0200)]
validate: use new API when switching track with playbin3

Move all the implementations of 'switch-track' to
gst-validate-scenario.c while doing so.

Differential Revision: https://phabricator.freedesktop.org/D1227

7 years agovalidate: reporter: break cyclic references with reports
Guillaume Desmottes [Tue, 31 May 2016 10:32:16 +0000 (12:32 +0200)]
validate: reporter: break cyclic references with reports

My patch fixing monitor leak (15e7f1bbfd84ce2cc5e6420fee2255c2be95e0f6)
introduced a ref cycle between GstValidateReporter and
GstValidateReport.

The reports uses its reporter so it needs a ref on it
to ensure it's stay alive. But reports are owned by
GstValidateReporter and/or GstValidateRunner.

Fix this by not taking a reference on the reporter but instead caching
its name.

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1029

7 years agovalidate: turn GstValidateReport to a mini object
Guillaume Desmottes [Thu, 26 May 2016 12:02:45 +0000 (14:02 +0200)]
validate: turn GstValidateReport to a mini object

It handles refcounting for us and will enable automatic leak checks when
using the 'leaks' tracer.

Differential Revision: https://phabricator.freedesktop.org/D1233

7 years agovalidate: inherit from GstObject instead of GObject
Guillaume Desmottes [Thu, 26 May 2016 10:32:16 +0000 (12:32 +0200)]
validate: inherit from GstObject instead of GObject

This allow us to use to 'leaks' detector to check if those objects are
leaked.

Differential Revision: https://phabricator.freedesktop.org/D1232

7 years agovalidate: call gst_deinit() after gst_validate_deinit()
Guillaume Desmottes [Fri, 20 May 2016 12:46:19 +0000 (15:46 +0300)]
validate: call gst_deinit() after gst_validate_deinit()

This allows validate to clean up before the 'leak' tracer list leaked
objects.

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1231

7 years agovalidate: use MAY_BE_LEAKED flag
Guillaume Desmottes [Fri, 20 May 2016 12:44:20 +0000 (15:44 +0300)]
validate: use MAY_BE_LEAKED flag

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1230

7 years agovalidate: fix pad leaks
Guillaume Desmottes [Mon, 30 May 2016 13:42:24 +0000 (15:42 +0200)]
validate: fix pad leaks

Pads returned using the playbin get-{audio,video}-pad are reffed.

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1027

7 years agovalidate: reporter: break cyclic references with reports
Guillaume Desmottes [Fri, 27 May 2016 13:37:00 +0000 (15:37 +0200)]
validate: reporter: break cyclic references with reports

My patch fixing monitor leak (15e7f1bbfd84ce2cc5e6420fee2255c2be95e0f6)
introduced a ref cycle between GstValidateReporter and
GstValidateReport.

The reports uses its reporter so it needs a ref on it
to ensure it's stay alive. But reports are owned by GstValidateReporter and/or
GstValidateRunner.
The best way I found to break this cycle is to introduce this purge
method. It's not great but the design is a bit tricky.

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1029

7 years agovalidate: reporter: prevent usage of destroyed runner
Guillaume Desmottes [Fri, 27 May 2016 12:36:44 +0000 (14:36 +0200)]
validate: reporter: prevent usage of destroyed runner

Fix crashes.

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1028

7 years agovalidate: runner: prevent hash table modifications while iterating
Guillaume Desmottes [Fri, 27 May 2016 11:23:48 +0000 (13:23 +0200)]
validate: runner: prevent hash table modifications while iterating

A GHashTableIter is invalided if the hash table is modified while we are
iterating. Prevent this by taking the runner lock.

Fix assertion warnings with
validate.file.transcode.to_vorbis_and_vp8_in_webm.Sintel_2010_720p_mkv_srt

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1026

7 years agovalidate: Add jpeg as known format
Thibault Saunier [Fri, 29 Jul 2016 19:52:48 +0000 (15:52 -0400)]
validate: Add jpeg as known format

7 years agovalidate: Fix testsuite after additional check for buffer DISCONT flag
Thibault Saunier [Fri, 29 Jul 2016 17:27:23 +0000 (13:27 -0400)]
validate: Fix testsuite after additional check for buffer DISCONT flag

7 years agodata: Fix make distcheck.
Mathieu Duponchelle [Tue, 19 May 2015 13:53:06 +0000 (13:53 +0000)]
data: Fix make distcheck.

by distributing newly-added files.

Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Differential Revision: https://phabricator.freedesktop.org/D185

7 years agovalidate: scenario: deploy setup_sink_props_max_lateness config scenario for valgrind
Wonchul Lee [Thu, 15 Oct 2015 07:29:27 +0000 (07:29 +0000)]
validate: scenario: deploy setup_sink_props_max_lateness config scenario for valgrind

Add to deploy setup_sink_props_max_lateness scenario.
When running gst-validate with valgrind option on the installed package, it fails to find that scenario.

Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D379

7 years agodocs: Fix typo
Wonchul Lee [Mon, 18 Jan 2016 03:53:20 +0000 (03:53 +0000)]
docs: Fix typo

Reviewed-by: Alex Băluț <alexandru.balut@gmail.com>
Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D681