platform/upstream/gstreamer.git
11 years agopad-monitor: check for when a flush start isn't expected
Thiago Santos [Wed, 17 Jul 2013 03:29:38 +0000 (00:29 -0300)]
pad-monitor: check for when a flush start isn't expected

Complain when an unexpected flush-start is received

11 years agopad-monitor: add checks for raw caps completeness
Thiago Santos [Wed, 17 Jul 2013 03:29:04 +0000 (00:29 -0300)]
pad-monitor: add checks for raw caps completeness

Check audio and video raw caps returned from getcaps for expected
fields and types

11 years agoqa-monitor: Fix typo in printf format for report debug messages
Thiago Santos [Wed, 17 Jul 2013 03:25:11 +0000 (00:25 -0300)]
qa-monitor: Fix typo in printf format for report debug messages

Stringify the arguments correctly for printing

11 years agopad-monitor: first buffer checks
Thiago Santos [Wed, 17 Jul 2013 02:19:13 +0000 (23:19 -0300)]
pad-monitor: first buffer checks

Check that a newsegment is received before the first buffer and that
the first buffer running time is 0

11 years agoqa-report: rework qa-report API
Thiago Santos [Wed, 17 Jul 2013 00:15:09 +0000 (21:15 -0300)]
qa-report: rework qa-report API

Remove error from GstQaErrorReport, making it only GstQaReport. Add
 a level and use area and subarea code, with an extra string for message
 adding details.

Provide macros on qa-monitor to make it easy to create reports.

11 years agopad-monitor: add stubs for getcaps/setcaps function wrapping
Thiago Santos [Tue, 16 Jul 2013 12:17:44 +0000 (09:17 -0300)]
pad-monitor: add stubs for getcaps/setcaps function wrapping

11 years agopad-monitor: add check for out of segment buffer data
Thiago Santos [Tue, 16 Jul 2013 11:06:27 +0000 (08:06 -0300)]
pad-monitor: add check for out of segment buffer data

11 years agoqa-report: use gst_util_get_timestamp for report times
Thiago Santos [Mon, 15 Jul 2013 13:15:06 +0000 (10:15 -0300)]
qa-report: use gst_util_get_timestamp for report times

Makes it more aligned with GST_DEBUG output

11 years agopad-monitor: split event checks for src and sink pads
Thiago Santos [Mon, 15 Jul 2013 12:27:34 +0000 (09:27 -0300)]
pad-monitor: split event checks for src and sink pads

Keeping those handlers separate should keep the code smaller and
easier to understand

11 years agoqa-monitor: add parent relation for monitors
Thiago Santos [Fri, 12 Jul 2013 19:02:25 +0000 (16:02 -0300)]
qa-monitor: add parent relation for monitors

This is useful because Pad monitors will have to ask the
parent element monitors for some element details for
doing checks

11 years agoqa-element-monitor: check if the element is a decoder
Thiago Santos [Fri, 12 Jul 2013 18:42:56 +0000 (15:42 -0300)]
qa-element-monitor: check if the element is a decoder

This can be used on checks for timestamps being inside segment

11 years agopad-monitor: add probes for src pads
Thiago Santos [Fri, 12 Jul 2013 17:18:22 +0000 (14:18 -0300)]
pad-monitor: add probes for src pads

To be used for further monitoring events and buffers for
src pads

11 years agoqa-report: add a timestamp to error reports
Thiago Santos [Fri, 12 Jul 2013 16:32:08 +0000 (13:32 -0300)]
qa-report: add a timestamp to error reports

11 years agoqa-report: adds qa-report for reporting errors to GstQaRunner
Thiago Santos [Fri, 12 Jul 2013 05:10:06 +0000 (02:10 -0300)]
qa-report: adds qa-report for reporting errors to GstQaRunner

The errors are printed directly to stdout and are accumulated at
GstQaRunner for being printed at the end if requested

11 years agoqa-monitor-preload: add functions to allow ld-preload to wrap pipelines
Thiago Santos [Fri, 12 Jul 2013 04:23:48 +0000 (01:23 -0300)]
qa-monitor-preload: add functions to allow ld-preload to wrap pipelines

The preload functions wrap functions that can create pipelines and
attaches a runner to them for monitoring

11 years agoqa-monitor: add runner property
Thiago Santos [Fri, 12 Jul 2013 03:41:43 +0000 (00:41 -0300)]
qa-monitor: add runner property

runner stores the GstQaRunner that will receive the error reports
from the monitors

11 years agopad-monitor: make it able to initialize a segment
Thiago Santos [Thu, 11 Jul 2013 16:43:52 +0000 (13:43 -0300)]
pad-monitor: make it able to initialize a segment

Do not take the initial format set to TIME too seriously when we
haven't got any newsegment event yet. If it is the first segment
received, switch our internal segment tracker to the event format

11 years agogst-qa: add seek-tests option
Thiago Santos [Thu, 11 Jul 2013 16:41:25 +0000 (13:41 -0300)]
gst-qa: add seek-tests option

The seek-tests does a simple seeking after the pipeline has started
so that seeking checks can be performed by the monitors

11 years agopad-monitor: track some events
Thiago Santos [Thu, 11 Jul 2013 05:07:41 +0000 (02:07 -0300)]
pad-monitor: track some events

Segments, upstream seeks and flushes. Adding the following checks:

* A flush stop is expected after a flush start
* After a seek, the flushes/segment seqnum should be the same as the seek

11 years agopad-monitor: only set pad functions if they exist on the pad
Thiago Santos [Thu, 11 Jul 2013 03:05:17 +0000 (00:05 -0300)]
pad-monitor: only set pad functions if they exist on the pad

Some functions should only be set on pads if they were originally
set, like the GetRange, Chain and BufferAlloc

11 years agoqa-bin-monitor/element-monitor: implement pad/element wrapping
Thiago Santos [Thu, 11 Jul 2013 03:04:41 +0000 (00:04 -0300)]
qa-bin-monitor/element-monitor: implement pad/element wrapping

Add code that creates new monitors when elements/pads are found
in bin and element monitors

11 years agoqa-monitor: fix various start up issues
Thiago Santos [Thu, 11 Jul 2013 03:03:54 +0000 (00:03 -0300)]
qa-monitor: fix various start up issues

Fix reference count for monitored object, passing of constructor
parameter and base monitor property flag

11 years agopad-monitor: instrument to monitor buffer/event/query/alloc flows
Thiago Santos [Wed, 10 Jul 2013 21:38:09 +0000 (18:38 -0300)]
pad-monitor: instrument to monitor buffer/event/query/alloc flows

Replace pad functions with monitor functions that can do pre/post
checks and call the original functions

11 years agoqa-monitor: add base class for monitors
Thiago Santos [Wed, 10 Jul 2013 17:03:49 +0000 (14:03 -0300)]
qa-monitor: add base class for monitors

The base class adds a 'object' property to hold the monitored object,
it can only be set on construction. Also the constructor now
automatically calls the element set up

11 years agoqa-bin-monitor: adds a bin monitor
Thiago Santos [Tue, 9 Jul 2013 22:20:55 +0000 (19:20 -0300)]
qa-bin-monitor: adds a bin monitor

Extends element-monitor to also wrap child elements

11 years agoqa: renaming Wrapper -> Monitor
Thiago Santos [Tue, 9 Jul 2013 20:38:47 +0000 (17:38 -0300)]
qa: renaming Wrapper -> Monitor

11 years agoqa-pad-wrapper: adds stub class for pad QA wrapper
Thiago Santos [Tue, 9 Jul 2013 19:52:02 +0000 (16:52 -0300)]
qa-pad-wrapper: adds stub class for pad QA wrapper

Also fixes _new functions to ref the elements intead of
ownership transfers

11 years agoqa-element-wrapper: add code for iterating and monitoring pads creation
Thiago Santos [Tue, 9 Jul 2013 19:39:38 +0000 (16:39 -0300)]
qa-element-wrapper: add code for iterating and monitoring pads creation

This will be used to create the wrappers for pads

11 years agogitignore: ignore gst-qa binary
Thiago Santos [Tue, 9 Jul 2013 19:13:00 +0000 (16:13 -0300)]
gitignore: ignore gst-qa binary

11 years agoqa: adds gst-qa binary and basic classes to run the QA tests
Thiago Santos [Tue, 9 Jul 2013 19:08:30 +0000 (16:08 -0300)]
qa: adds gst-qa binary and basic classes to run the QA tests

The classes are mostly a stub for now, but the gst-qa already
has a minimum to start them;

11 years agoqa: add common submodule
Thiago Santos [Tue, 9 Jul 2013 19:07:58 +0000 (16:07 -0300)]
qa: add common submodule

11 years agoqa: initial empty repository
Thiago Santos [Tue, 9 Jul 2013 19:06:36 +0000 (16:06 -0300)]
qa: initial empty repository