Thibault Saunier [Wed, 16 Jul 2014 08:09:32 +0000 (10:09 +0200)]
validate:launcher: Allow transcoding audio only files 5 time longer than long_limit
Transcoding audio is a lot shorter so we can concider that transcoding files that are only
only is 5 time shorter than the actual file (empirical number)
Thibault Saunier [Wed, 16 Jul 2014 08:03:11 +0000 (10:03 +0200)]
validate:media-check: Pass the GError where needed.
Thibault Saunier [Tue, 15 Jul 2014 10:16:34 +0000 (12:16 +0200)]
validate: Avoid segfault in the error path
Thibault Saunier [Tue, 15 Jul 2014 09:59:23 +0000 (11:59 +0200)]
validate:media-descriptor-writer: Handle medias with 1 single stream
Thibault Saunier [Tue, 8 Jul 2014 11:50:11 +0000 (13:50 +0200)]
validate: Check that after a seek in PAUSED position is perfect
In case of ACCURATE seeking, the position after a SEEK in PAUSED state
should be *exactly* the one requested by the user.
Thiago Santos [Fri, 11 Jul 2014 18:45:18 +0000 (15:45 -0300)]
scenario: add set_property scenario action
Allows setting element's properties during a scenario. Very useful
for testing that elements behave correctly when changing properties
during playing state
https://bugzilla.gnome.org/show_bug.cgi?id=733070
Sreerenj Balachandran [Wed, 9 Jul 2014 16:10:57 +0000 (19:10 +0300)]
New Tool: Add a CodecAnalyzer
https://bugzilla.gnome.org/show_bug.cgi?id=731853
Stefan Sauer [Mon, 7 Jul 2014 14:12:22 +0000 (16:12 +0200)]
TODO: add some planning comments
Stefan Sauer [Tue, 22 Oct 2013 08:57:14 +0000 (10:57 +0200)]
mi-info: add wikilink for opus
Thibault Saunier [Wed, 2 Jul 2014 15:53:55 +0000 (17:53 +0200)]
validate: Execute actions if we get seeked in ready state
Thibault Saunier [Wed, 2 Jul 2014 09:27:22 +0000 (11:27 +0200)]
validate: Let scenarios tell the apps about whether it handles states
The user only needs to add handles-states=true in the description line
of the scenario
Thibault Saunier [Thu, 19 Jun 2014 10:58:49 +0000 (12:58 +0200)]
validate:scenario: Do not care about the position if we are not at least in PAUSED state
At that time the position query will be meaningless so we should just go to the next
action.
Thibault Saunier [Thu, 26 Jun 2014 13:07:39 +0000 (15:07 +0200)]
validate: Handle MXF files
Thibault Saunier [Thu, 26 Jun 2014 13:03:07 +0000 (15:03 +0200)]
validate:media-check: Changes in tags detection are not fatal issues
Thibault Saunier [Thu, 26 Jun 2014 11:01:13 +0000 (13:01 +0200)]
validate:launcher Add video mixing tests
+ Move default_testsuite.py to validate_testsuite.py as we are now
exposing tests that are not enabled by default
Thibault Saunier [Thu, 26 Jun 2014 10:42:38 +0000 (12:42 +0200)]
validate:launcher: Move the notion of test generator to the baseclasses
This can be very usefull for all the TestManager and thus exposes a
higher level API for test writers.
Thibault Saunier [Thu, 19 Jun 2014 14:26:43 +0000 (16:26 +0200)]
validate:launcher: Move default testsuite to a dedicated file
Making the separation cleaner between the launcher and the test
implementation
Thibault Saunier [Fri, 20 Jun 2014 17:01:41 +0000 (19:01 +0200)]
validate: Properly handle CLOCK_TIME_NONE position and duration values
In the value parser.
Thibault Saunier [Thu, 19 Jun 2014 11:03:48 +0000 (13:03 +0200)]
validate: Print the return value at the end
Making it easier to know whether the test passed or not.
Thibault Saunier [Thu, 19 Jun 2014 10:56:34 +0000 (12:56 +0200)]
validate:scenario: Move the check about whether we are still seeking upper in the function
Avoiding to try to get position and do operations on a pipeline that is seeking
Vincent Penquerc'h [Mon, 25 Nov 2013 13:55:10 +0000 (13:55 +0000)]
validate-scenario: only use valid position/duration
Position/duration query may fail, or yield unknown values (eg,
unknown duration for live streams). In these cases, we must ensure
we do not use those invalid values.
https://bugzilla.gnome.org/show_bug.cgi?id=715160
Thibault Saunier [Thu, 19 Jun 2014 07:38:52 +0000 (09:38 +0200)]
validate:launcher: Not concider all scenarios by default with --wanted-test
Instead let the users activate that with -t ALL
Thibault Saunier [Thu, 19 Jun 2014 07:22:36 +0000 (09:22 +0200)]
validate:launcher: Let the user set user options in the config file
Thibault Saunier [Wed, 18 Jun 2014 15:27:09 +0000 (17:27 +0200)]
validate:launcher: Use RawTextHelpFormatter to (not) format user help
Thibault Saunier [Wed, 18 Jun 2014 15:26:05 +0000 (17:26 +0200)]
validate:launcher: Add a way to create test suite outside the three
+ Make sure to namespace the API
+ Remove cruft about G_V_PROTOCOL_VIDEO_RESTRICTION_CAPS
Thibault Saunier [Wed, 18 Jun 2014 11:02:53 +0000 (13:02 +0200)]
validate:scenario: We are not changing state if the set_state failed.
Thibault Saunier [Wed, 18 Jun 2014 11:02:29 +0000 (13:02 +0200)]
validate:scenario: Add a debug category and add some debug
Thibault Saunier [Wed, 18 Jun 2014 11:01:42 +0000 (13:01 +0200)]
validate: media-descirptor: Add more infos about discoverer error
Thibault Saunier [Wed, 18 Jun 2014 10:51:02 +0000 (12:51 +0200)]
validate:launcher: Cleanup the way we generate tests adding the notion of TestGenerator
Making it easier to extend the testsuite.
Thibault Saunier [Wed, 18 Jun 2014 13:57:14 +0000 (15:57 +0200)]
validate:tools: Dot the pipeline on usefull places
Meaning on warning and state changes.
Sebastian Dröge [Sat, 28 Jun 2014 10:33:45 +0000 (12:33 +0200)]
validate: Don't call gst_debug_log_valist() if debugging is disabled
And also stop leaking a string every time.
Sebastian Dröge [Sat, 28 Jun 2014 09:36:27 +0000 (11:36 +0200)]
gst-validate: Add $(GIO_LIBS) and $(GIO_CFLAGS) as required
Thibault Saunier [Tue, 17 Jun 2014 13:10:41 +0000 (15:10 +0200)]
validate: Fix launcher when running installed
Thibault Saunier [Tue, 17 Jun 2014 12:17:21 +0000 (14:17 +0200)]
validate: scenarios: Install play_15s.scenario
Thibault Saunier [Mon, 16 Jun 2014 14:47:18 +0000 (16:47 +0200)]
validate:launcher:reporter: Sort Final report by results
Thibault Saunier [Mon, 16 Jun 2014 14:46:21 +0000 (16:46 +0200)]
validate:launcher:ges: Fix rendered duration checking
Thibault Saunier [Mon, 16 Jun 2014 14:40:10 +0000 (16:40 +0200)]
validate: pad-monitor: Do not compare not fixed sinkpad caps fields
We are only able to check that the sink pad caps values are inside the src pad
value.
Thibault Saunier [Mon, 16 Jun 2014 06:49:22 +0000 (08:49 +0200)]
scenario: Do not be so tolerant about seek drift
Edward Hervey [Tue, 3 Jun 2014 07:38:29 +0000 (09:38 +0200)]
pad-monitor: Handle out-of-segment first buffer
If the initial buffer is before segment.start, we don't want to raise
the "first buffer doesn't have 0 running-time" issue.
Also add debug for tracking issues
Edward Hervey [Tue, 3 Jun 2014 08:02:10 +0000 (10:02 +0200)]
validate: Run gst-indent on all code
so whitespace. much indent. spacing !
Thibault Saunier [Tue, 27 May 2014 10:30:54 +0000 (12:30 +0200)]
validate: Depend at least on GLib 2.36
Thibault Saunier [Mon, 19 May 2014 17:42:46 +0000 (19:42 +0200)]
validate: Add a scrub_backward_seeking scenario
+ Make use of it in ges-launch and do not try to seek while playing in
GES as it is not supported yet
Nicolas Dufresne [Sat, 24 May 2014 05:28:36 +0000 (01:28 -0400)]
validate: Don't pass NULL to g_strsplit
Edward Hervey [Thu, 22 May 2014 14:13:31 +0000 (16:13 +0200)]
validate-utils: Fix unitialized variable
gst-validate-utils.c:413:7: error: variable 'v0' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (c == '!') {
^~~~~~~~
gst-validate-utils.c:424:10: note: uninitialized use occurs here
return v0;
^~
gst-validate-utils.c:413:3: note: remove the 'if' if its condition is always false
if (c == '!') {
^~~~~~~~~~~~~~~
gst-validate-utils.c:411:13: note: initialize the variable 'v0' to silence this warning
gdouble v0;
^
= 0.0
1
Thibault Saunier [Wed, 21 May 2014 09:50:09 +0000 (11:50 +0200)]
validate: Move overrides and preload libraries to dedicated folders
This way it is cleaner and it is simpler to handle the various compilation dependencies.
Lubosz Sarnecki [Fri, 16 May 2014 14:20:26 +0000 (16:20 +0200)]
python: change shebangs to python2
Thibault Saunier [Thu, 15 May 2014 07:46:24 +0000 (09:46 +0200)]
validate: Properly use boolean in XML
Thibault Saunier [Thu, 8 May 2014 15:48:39 +0000 (17:48 +0200)]
validate: Improve perf when writing the XML file
+ Pass the file into gst-indent
Thibault Saunier [Wed, 7 May 2014 11:14:51 +0000 (13:14 +0200)]
validate: Add a scenario that switches state many intensively
+ Use it by default in the launcher tests
Thibault Saunier [Wed, 7 May 2014 10:43:53 +0000 (12:43 +0200)]
validate: Minor fix for blacklisted test output formatting
Thibault Saunier [Wed, 7 May 2014 10:21:49 +0000 (12:21 +0200)]
validate:launcher: Add an option to only launch the http server
Thibault Saunier [Wed, 7 May 2014 10:21:30 +0000 (12:21 +0200)]
validate: Keep scenario discovering logs in a file
Thibault Saunier [Wed, 7 May 2014 09:34:47 +0000 (11:34 +0200)]
validate: Avoid using stop value in the fast_forward scenario
Thibault Saunier [Wed, 7 May 2014 09:30:39 +0000 (11:30 +0200)]
validate: Properly check that outputed videos have a correct duration
Thibault Saunier [Wed, 7 May 2014 09:30:09 +0000 (11:30 +0200)]
validate: Add the notion of "long" tests so that we can avoid some test to be run if they are too long
Thibault Saunier [Wed, 7 May 2014 07:51:19 +0000 (09:51 +0200)]
scenario: Add a general action to set state
Thibault Saunier [Wed, 7 May 2014 07:50:28 +0000 (09:50 +0200)]
validate: Properly set the pre commit hook
Thibault Saunier [Wed, 7 May 2014 07:46:28 +0000 (09:46 +0200)]
validate:scenario: Pass into gst-indent
Thibault Saunier [Wed, 7 May 2014 07:15:34 +0000 (09:15 +0200)]
validate: The wait mandatory field is duration
Thibault Saunier [Wed, 7 May 2014 07:11:12 +0000 (09:11 +0200)]
validate: Make sure mandatory fields are present when parsing scenarios
Mathieu Duponchelle [Tue, 6 May 2014 13:34:08 +0000 (15:34 +0200)]
scenarios: add a stateless property.
This property enables the user to have actions executed independently
of the state of the pipeline.
Conflicts:
validate/gst/validate/gst-validate-scenario.c
Mathieu Duponchelle [Mon, 5 May 2014 15:00:45 +0000 (17:00 +0200)]
scenario: make sure to not execute actions when changing state.
Conflicts:
validate/gst/validate/gst-validate-scenario.c
Thibault Saunier [Sun, 4 May 2014 07:30:14 +0000 (09:30 +0200)]
validate: The 'buffering' variable needs to be static
We need its value between bus_callback calls to be the same
Luis de Bethencourt [Fri, 2 May 2014 21:25:07 +0000 (17:25 -0400)]
gst-validate: some static variables can be local
buffering is only used inside the bus_callback, so it can have that local
scope. same thing with ret which is only used in the main function.
Luis de Bethencourt [Fri, 2 May 2014 20:53:51 +0000 (16:53 -0400)]
gst-validate: small typo in usage summary
Thibault Saunier [Fri, 2 May 2014 18:05:28 +0000 (20:05 +0200)]
validate: Wait for the PAUSED state to be reached before executing actions
Thibault Saunier [Fri, 2 May 2014 17:00:49 +0000 (19:00 +0200)]
validate: Fix the name of the sintel blacklisting
Thibault Saunier [Fri, 2 May 2014 16:50:41 +0000 (18:50 +0200)]
validate: Add a scenario to disable subtitle track while paused
Thibault Saunier [Fri, 2 May 2014 12:06:18 +0000 (14:06 +0200)]
validate: Implement frame by frame writing in the media descriptor writer
+ Add an option to fully parse media files in the gst-validate-media-check tool
Thibault Saunier [Thu, 1 May 2014 12:58:14 +0000 (14:58 +0200)]
validate: Execute position right when the pipeline reaches PAUSED
We might go to PAUSED SYNC if nothing happens in the pipeline
Thibault Saunier [Thu, 1 May 2014 12:11:24 +0000 (14:11 +0200)]
validate: Add a scenario that disable subtitles
+ Clean the sythax to define switch-track action that actually
desactivate the track
Thibault Saunier [Thu, 1 May 2014 10:52:09 +0000 (12:52 +0200)]
validate: Do not execute action when buffering
While buffering we should no try to execute anything as we would not be
controlling properly the execution.
+ Activate scrub forward seeking for HTTP streams
Thibault Saunier [Thu, 1 May 2014 10:34:35 +0000 (12:34 +0200)]
validate: Add a scenario that switches subtitle track while paused
+ Integrate it in the launcher
Thibault Saunier [Thu, 1 May 2014 09:32:42 +0000 (11:32 +0200)]
validate:launcher: Sensibly simplify scenario handling
Thibault Saunier [Thu, 1 May 2014 08:27:53 +0000 (10:27 +0200)]
validate: Plug a minor leak
Thibault Saunier [Wed, 30 Apr 2014 13:51:43 +0000 (15:51 +0200)]
validate: Use ges-launch recursing path new feature
And fix path to URI conversion
Thibault Saunier [Wed, 30 Apr 2014 13:40:10 +0000 (15:40 +0200)]
validate: Add a gst-validate-launcher documentation
Thibault Saunier [Wed, 30 Apr 2014 09:52:00 +0000 (11:52 +0200)]
validate:launcher: Port OptionParser to ArgParse
Thibault Saunier [Wed, 30 Apr 2014 09:20:43 +0000 (11:20 +0200)]
validate: Can not do reverse playback on sintel sample
+ Minor improvement in the CLI
Thibault Saunier [Wed, 30 Apr 2014 09:13:51 +0000 (11:13 +0200)]
validate:launcher: Do not except meaningless argument in ges-launch
Thibault Saunier [Wed, 30 Apr 2014 09:06:09 +0000 (11:06 +0200)]
validate: Handle per file special scenarios
When a file is int the same folder as a media file and has a name like:
mediafilename.mkv.scenarios_name.scenario we run that scenario on that
particular file
Thibault Saunier [Wed, 30 Apr 2014 07:35:03 +0000 (09:35 +0200)]
validate: Allow specifying scenarios to parse when lisiting them
It used to only handle the scenario present in proper paths, we
also need to handle special scenarios provided by users on the fly
Thibault Saunier [Tue, 29 Apr 2014 18:00:21 +0000 (20:00 +0200)]
validate: Handle ERROR on the bus when monitoring the pipeline
This way the user get a clear information in the report about the issue
+ sensibly cleanup code
Thibault Saunier [Tue, 29 Apr 2014 17:04:46 +0000 (19:04 +0200)]
validate: Add a scenarios that switchs subtitle track
+ Make it easier and cleaner to tell that a switch is actually disabling
a track type.
And run the scenario in gst-validate-launcher by default
Thibault Saunier [Tue, 29 Apr 2014 16:51:54 +0000 (18:51 +0200)]
validate: Add a switch_audio_track_while_paused scenario
And run it as a default
Thibault Saunier [Thu, 1 May 2014 16:20:25 +0000 (18:20 +0200)]
validate: Add an action to set an external URI file on playbin at runtime
Thibault Saunier [Thu, 1 May 2014 16:19:50 +0000 (18:19 +0200)]
validate: Override switch_track action when using a playbin
And use the playbin feature for that when the pipeline is based on playbin
Thibault Saunier [Thu, 1 May 2014 16:17:44 +0000 (18:17 +0200)]
validate: Do not g_strrstr with a NULL pointer as needle
Thibault Saunier [Thu, 1 May 2014 16:16:16 +0000 (18:16 +0200)]
validate: Print more details when executing the switch_track action
+ Fix some issue in the memory freeing codepath of GstValidateAction
Thibault Saunier [Tue, 29 Apr 2014 15:16:50 +0000 (17:16 +0200)]
validate: Do not try to use a NULL iter
Thiago Santos [Wed, 2 Oct 2013 00:11:35 +0000 (21:11 -0300)]
pad-monitor: check that no buffers are pushed after a pad is EOS
Make sure no resources are wasted after elements are done with the
current segment
Thibault Saunier [Mon, 28 Apr 2014 11:08:09 +0000 (13:08 +0200)]
launcher: Now using git annex to handle media files
Thibault Saunier [Sat, 26 Apr 2014 07:52:37 +0000 (09:52 +0200)]
validate: Expose a seeking method so other actions types can seek
Other action types might need to seek and we GstValidateScenario need
to know about it, add a method others can use to do the seeking
Thibault Saunier [Sat, 26 Apr 2014 07:16:26 +0000 (09:16 +0200)]
Revert "validate:launcher: Always put gst-validate result as stderr in reports"
This reverts commit
925ff7542b69bb5516b6eb5b4488da23124a0cbc.
Actually jenkins never truncates on failure stacktrace... we do not
want to set gst-validate as failure stacktrace in our results. That
commit was not usefull.
Thibault Saunier [Sat, 26 Apr 2014 06:11:20 +0000 (08:11 +0200)]
validate:launcher: Always put gst-validate result as stderr in reports
This way jenkins will always keep the information in its database even
if the test passes
Thibault Saunier [Fri, 25 Apr 2014 16:33:33 +0000 (18:33 +0200)]
validate: Pass -scenario.c into gst-indent and fix some docs
Thibault Saunier [Fri, 25 Apr 2014 16:27:30 +0000 (18:27 +0200)]
validate: Add a "dot-pipeline" action
Thibault Saunier [Fri, 25 Apr 2014 16:26:50 +0000 (18:26 +0200)]
validate: Return a boolean when parsing an enum string
Thibault Saunier [Fri, 25 Apr 2014 11:42:03 +0000 (13:42 +0200)]
validate:scenarios: Prefer stop action instead of EOS when appropriate
Thibault Saunier [Fri, 25 Apr 2014 11:19:19 +0000 (13:19 +0200)]
validate:launcher: Properly set error message when sending EOS did not work