platform/upstream/gstreamer.git
10 years agoWIP: pad-monitor: Fix serialized event order check
Edward Hervey [Fri, 23 Aug 2013 07:15:29 +0000 (09:15 +0200)]
WIP: pad-monitor: Fix serialized event order check

10 years agopad-monitor: also track eos event that should be emitted after a seek
Thiago Santos [Mon, 2 Sep 2013 13:46:55 +0000 (10:46 -0300)]
pad-monitor: also track eos event that should be emitted after a seek

When seeking out of the media file length, the element should push an
EOS with the same seqnum of the seek event

10 years agoscenario: add missing space
Thiago Santos [Mon, 2 Sep 2013 13:46:42 +0000 (10:46 -0300)]
scenario: add missing space

10 years agovalidate: prettify output of results
Edward Hervey [Sun, 25 Aug 2013 17:53:27 +0000 (19:53 +0200)]
validate: prettify output of results

Makes the result a bit more readable than a compact multi-line list.

FIXME: Figure out how to print the description of the issues (which can
spawn multiple lines) in a nice way.

10 years agoscenario: add missing line break after print
Thiago Santos [Thu, 29 Aug 2013 17:27:34 +0000 (14:27 -0300)]
scenario: add missing line break after print

10 years agopad-monitor: avoid tracking tag events
Thiago Santos [Thu, 29 Aug 2013 17:26:05 +0000 (14:26 -0300)]
pad-monitor: avoid tracking tag events

Tag events are hard to track and check if properly serialized because
they mutate too much inside elements. There is no reliable way currently
to match a tag event pushed into an element and another tag event
leaving the element (other than if the pointers are actually the same).

10 years agopad-monitor: only do combined return checks for demuxers
Thiago Santos [Thu, 29 Aug 2013 14:48:33 +0000 (11:48 -0300)]
pad-monitor: only do combined return checks for demuxers

Seems like the only place that gstreamer elements should really
care about it

10 years agopad-monitor: add two useful macros for readability
Thiago Santos [Thu, 29 Aug 2013 14:47:58 +0000 (11:47 -0300)]
pad-monitor: add two useful macros for readability

Avoids using long macros and having to check for pad-monitor parent
existance

10 years agomedia-info: add a track switching test
Vincent Penquerc'h [Wed, 28 Aug 2013 10:07:40 +0000 (06:07 -0400)]
media-info: add a track switching test

This test will find the first input selector with more than one
sink pad, and cycle through them till it gets back to the original
one. Five seconds between switches. The test checks that some data
was sent from the input selector when each of the sink pads was
selected.

10 years agoscenario: Print on stdout when we seek
Thibault Saunier [Fri, 23 Aug 2013 13:58:58 +0000 (09:58 -0400)]
scenario: Print on stdout when we seek

10 years agovalidate: Report an issue result of query state that position > duration
Thibault Saunier [Fri, 23 Aug 2013 13:39:05 +0000 (09:39 -0400)]
validate: Report an issue result of query state that position > duration

10 years agoscenario: Execute action whenever we pass the expected position
Thibault Saunier [Thu, 22 Aug 2013 20:52:45 +0000 (16:52 -0400)]
scenario: Execute action whenever we pass the expected position

We know are sequential so whenever the wanted position is passed we
should execute the action.

This avoid issue with the tolerance when we have high rate playback

10 years agovalidate: Dump pipeline for each state change
Thibault Saunier [Thu, 22 Aug 2013 16:16:55 +0000 (12:16 -0400)]
validate: Dump pipeline for each state change

Ala gst-launch

10 years agotranscoding: Print duration regularly
Thibault Saunier [Thu, 22 Aug 2013 15:17:26 +0000 (11:17 -0400)]
transcoding: Print duration regularly

10 years agovalidate: Print state changes to help debugging
Thibault Saunier [Thu, 22 Aug 2013 14:51:49 +0000 (10:51 -0400)]
validate: Print state changes to help debugging

10 years agolicenses: improving licensing info on all files
Thiago Santos [Wed, 28 Aug 2013 19:58:11 +0000 (16:58 -0300)]
licenses: improving licensing info on all files

10 years agopad-monitor: fix typo when acessing parents data
Thiago Santos [Wed, 28 Aug 2013 19:49:07 +0000 (16:49 -0300)]
pad-monitor: fix typo when acessing parents data

10 years agopad-monitor: reset buffer timestamp data after a flush
Thiago Santos [Tue, 27 Aug 2013 21:23:09 +0000 (18:23 -0300)]
pad-monitor: reset buffer timestamp data after a flush

As the pad/element also clears its internal state

10 years agopad-monitor: also track flush events on probes
Thiago Santos [Tue, 27 Aug 2013 19:16:08 +0000 (16:16 -0300)]
pad-monitor: also track flush events on probes

10 years agotools: moving applications from gst/validate to tools
Thiago Santos [Tue, 27 Aug 2013 14:56:33 +0000 (11:56 -0300)]
tools: moving applications from gst/validate to tools

Keeps the CLI applications separate from the libs files

10 years agogst-validate-scenario: fix scenario listing missing installed ones
Vincent Penquerc'h [Tue, 27 Aug 2013 09:15:19 +0000 (05:15 -0400)]
gst-validate-scenario: fix scenario listing missing installed ones

Only scenarii in the current directory or the user's home directory
were being listed.

10 years agogst-validate-transcoding: fix help text to refer to URIs as URIs
Vincent Penquerc'h [Tue, 27 Aug 2013 09:08:46 +0000 (05:08 -0400)]
gst-validate-transcoding: fix help text to refer to URIs as URIs

Referring to them as files is confusing, as you'll try to use files
and not URIs.

10 years agodocs: minor spelling/grammar fixes
Vincent Penquerc'h [Tue, 27 Aug 2013 08:38:52 +0000 (04:38 -0400)]
docs: minor spelling/grammar fixes

10 years agopad-monitor: Move repeated caps to test only on sinkpads
Thiago Santos [Tue, 27 Aug 2013 14:48:00 +0000 (11:48 -0300)]
pad-monitor: Move repeated caps to test only on sinkpads

Testing on source pads can lead to false positives when pads are
unlinked. The caps event is sticky and will be pushed again later
when another buffer/event is pushed, leading to an acceptable
situation to push the caps twice.

10 years agopad-monitor: add another acceptable flow return combination scenarios
Thiago Santos [Mon, 26 Aug 2013 23:30:07 +0000 (20:30 -0300)]
pad-monitor: add another acceptable flow return combination scenarios

A demuxer knows when to return EOS after samples are over, so it is
ok for it to return even when all src pads returned OK

10 years agopad-monitor: improve serialized event checks
Thiago Santos [Mon, 26 Aug 2013 21:38:27 +0000 (18:38 -0300)]
pad-monitor: improve serialized event checks

If the event was already found at the first position of the array, it
shouldn't be searched on the rest of it.

This removes lots of false positives.

10 years agopad-monitor: fix aggregate flow return check for error situations
Thiago Santos [Mon, 26 Aug 2013 21:36:06 +0000 (18:36 -0300)]
pad-monitor: fix aggregate flow return check for error situations

Flow flushing must be returned upstream to indicate an error situation
downstream

10 years agogst-validate: print error message when starting the pipeline fails
Thiago Santos [Mon, 26 Aug 2013 23:31:22 +0000 (20:31 -0300)]
gst-validate: print error message when starting the pipeline fails

Instead of just exiting silently

10 years agopad-monitor: New check for duplicate caps event
Edward Hervey [Fri, 23 Aug 2013 07:16:43 +0000 (09:16 +0200)]
pad-monitor: New check for duplicate caps event

We shouldn't get/push twice caps that are identical

10 years agomedia-info: avoid glib assert
Thiago Santos [Fri, 23 Aug 2013 20:26:51 +0000 (17:26 -0300)]
media-info: avoid glib assert

10 years agoreport: Avoid repeating long macros
Edward Hervey [Fri, 23 Aug 2013 09:38:15 +0000 (11:38 +0200)]
report: Avoid repeating long macros

Makes the code a bit more readable and compact

10 years agovalidate-report: Fix critical flag handling
Edward Hervey [Fri, 23 Aug 2013 09:07:40 +0000 (11:07 +0200)]
validate-report: Fix critical flag handling

criticals are warnings/issues also
warnings are issues also

10 years agodata: Add a test that alternates (fast) backward and forward playback
Thibault Saunier [Tue, 20 Aug 2013 21:25:48 +0000 (17:25 -0400)]
data: Add a test that alternates (fast) backward and forward playback

10 years agodata: Add a seek_backward/forward scenarios
Thibault Saunier [Mon, 19 Aug 2013 14:03:04 +0000 (10:03 -0400)]
data: Add a seek_backward/forward scenarios

10 years agoscenario: Have GstClockTime as second (in double) inside scenario files
Thibault Saunier [Mon, 19 Aug 2013 14:02:35 +0000 (10:02 -0400)]
scenario: Have GstClockTime as second (in double) inside scenario files

Making it easier to read

10 years agodata: Add fast_forward/backward and simple_backward scenarios
Thibault Saunier [Thu, 15 Aug 2013 15:32:23 +0000 (17:32 +0200)]
data: Add fast_forward/backward and simple_backward scenarios

10 years agodata: Add a Backward and Forward seeking scenario
Thibault Saunier [Thu, 15 Aug 2013 10:34:09 +0000 (12:34 +0200)]
data: Add a Backward and Forward seeking scenario

10 years agodata: Add a Pause/Resume scenario
Thibault Saunier [Thu, 15 Aug 2013 10:17:43 +0000 (12:17 +0200)]
data: Add a Pause/Resume scenario

10 years agovalidate: Set return value of apps to -1 only if a critical issues was reported
Thibault Saunier [Mon, 19 Aug 2013 18:13:10 +0000 (14:13 -0400)]
validate: Set return value of apps to -1 only if a critical issues was reported

Conflicts:

gst/validate/gst-validate-transcoding.c
gst/validate/gst-validate.c

10 years agotranscoding: Make sure to initialize Gst before parsing options
Thibault Saunier [Fri, 16 Aug 2013 14:41:50 +0000 (16:41 +0200)]
transcoding: Make sure to initialize Gst before parsing options

Avoiding to break the help

10 years agotranscoding: Connect to the bus signals watch as the main watch might already be...
Thibault Saunier [Thu, 15 Aug 2013 13:59:22 +0000 (15:59 +0200)]
transcoding: Connect to the bus signals watch as the main watch might already be connected

10 years agoscenario: Start monitoring the position only when the pipeline starts playing
Thibault Saunier [Thu, 15 Aug 2013 15:31:17 +0000 (17:31 +0200)]
scenario: Start monitoring the position only when the pipeline starts playing

Otherwize seeking with a playback_time=0 won't work properly

10 years agoscenario: Fix negative rate management
Thibault Saunier [Thu, 15 Aug 2013 15:30:34 +0000 (17:30 +0200)]
scenario: Fix negative rate management

Properly parse the it has a gdouble and set the stop position of the seek as
seeked_position if the rate is negative

+ Add some debug

10 years agoscenario: Actions order in xml file is the order in which they must be executed
Thibault Saunier [Thu, 15 Aug 2013 10:33:23 +0000 (12:33 +0200)]
scenario: Actions order in xml file is the order in which they must be executed

When seeking we might want to execute seeks at a playback time inferior than previous
seek, so we need to be able to define the order in which actions have to be
executed, the simplest way is to just concider that actions are always
order in the XML files.

+ Add some more debugs

Conflicts:

gst/validate/gst-validate-scenario.c

10 years agoscenario: Rename the seeks list to actions, and initialize action to 0 when allocating
Thibault Saunier [Thu, 15 Aug 2013 13:57:52 +0000 (15:57 +0200)]
scenario: Rename the seeks list to actions, and initialize action to 0 when allocating

10 years agoscenario: Rename scenario xml files extension to .scenario
Thibault Saunier [Fri, 16 Aug 2013 10:17:34 +0000 (12:17 +0200)]
scenario: Rename scenario xml files extension to .scenario

10 years agovalidate: Connect to the bus signals watch as the main watch might already be connected
Thibault Saunier [Thu, 15 Aug 2013 10:18:56 +0000 (12:18 +0200)]
validate: Connect to the bus signals watch as the main watch might already be connected

10 years agovalidate: Add a way to list avalaible scenarios
Thibault Saunier [Fri, 16 Aug 2013 10:50:51 +0000 (12:50 +0200)]
validate: Add a way to list avalaible scenarios

Conflicts:

gst/validate/gst-validate-transcoding.c

10 years agogst-validate-transcoding: add signal handling and issues printing
Thiago Santos [Thu, 22 Aug 2013 13:35:50 +0000 (10:35 -0300)]
gst-validate-transcoding: add signal handling and issues printing

Update to have the same features as gst-validate.

1) Handle interrupts properly, with the additional of having the
'eos-on-shutdown' argument that sends EOS to the pipeline. This is
very useful for transcoding processes to finish correctly.

2) Print issues on the end of application

10 years agogst-validate: add interrupt handler
Thiago Santos [Thu, 22 Aug 2013 13:08:13 +0000 (10:08 -0300)]
gst-validate: add interrupt handler

Handle interrupt properly to still print issues when exiting

10 years agopad-monitor: Fix source pad probe handling
Edward Hervey [Wed, 21 Aug 2013 16:21:41 +0000 (18:21 +0200)]
pad-monitor: Fix source pad probe handling

type is a bitmask and not an enum

10 years agogst-validate: fix documentation after debug category changes
Thiago Santos [Wed, 21 Aug 2013 16:10:42 +0000 (13:10 -0300)]
gst-validate: fix documentation after debug category changes

10 years agovalidate-reporter: More comprehensive debug message
Edward Hervey [Wed, 21 Aug 2013 16:00:16 +0000 (18:00 +0200)]
validate-reporter: More comprehensive debug message

Some issues don't have any arguments, so put the full details in.

10 years agovalidate: Only use one debugging category: validate
Edward Hervey [Tue, 20 Aug 2013 09:43:07 +0000 (11:43 +0200)]
validate: Only use one debugging category: validate

There's no point in having a different debug category per file, you
can filter it by source filename if you *really* want that.

10 years agogst-validate: print issues at the end
Thiago Santos [Wed, 21 Aug 2013 15:11:40 +0000 (12:11 -0300)]
gst-validate: print issues at the end

And improve documentation about usage

10 years agomedia-check: add results file comparison
Thiago Santos [Wed, 21 Aug 2013 14:03:19 +0000 (11:03 -0300)]
media-check: add results file comparison

Adds a new expected-results argument to receive a file that is used
as a base for comparison with the new results. In case differences are
found, the application will print those issues.

10 years agoreporter: do not print issues to stdout
Thiago Santos [Tue, 20 Aug 2013 20:10:44 +0000 (17:10 -0300)]
reporter: do not print issues to stdout

10 years agomedia-info: fix playback tests
Thiago Santos [Tue, 20 Aug 2013 18:44:10 +0000 (15:44 -0300)]
media-info: fix playback tests

They weren't waiting for the pipeline to properly change state
before sending seek events, that would cause some events to
return TRUE even if they were not handled

10 years agomedia-check: return nonzero if a test failed
Thiago Santos [Tue, 20 Aug 2013 18:42:54 +0000 (15:42 -0300)]
media-check: return nonzero if a test failed

10 years agomedia-info: add playback and reverse-playback tests
Thiago Santos [Tue, 20 Aug 2013 16:24:31 +0000 (13:24 -0300)]
media-info: add playback and reverse-playback tests

The tests are very simple as they only write the first error they
found during playback. If no error is set, an empty string is
printed.

The playback pipeline isn't monitored with validate monitors for now

10 years agorename: gst-validate-file-check -> gst-validate-media-check
Thiago Santos [Tue, 20 Aug 2013 14:43:06 +0000 (11:43 -0300)]
rename: gst-validate-file-check -> gst-validate-media-check

It not only validates files, takes any URI

10 years agomedia-info: add stream topology parsing
Thiago Santos [Tue, 20 Aug 2013 14:41:15 +0000 (11:41 -0300)]
media-info: add stream topology parsing

Currently it only saves/loads the main type, but all topology is
already being parsed for future use

10 years agomedia-info: add duration and seekable entries
Thiago Santos [Mon, 19 Aug 2013 19:52:12 +0000 (16:52 -0300)]
media-info: add duration and seekable entries

Add duration entry in ns and seekable as a boolean to a new group
'media-info'

10 years agomedia-info: replacing file-checker with a simpler media-info struct
Thiago Santos [Mon, 19 Aug 2013 19:38:13 +0000 (16:38 -0300)]
media-info: replacing file-checker with a simpler media-info struct

This struct stores information about a media and tests run on it. It
also has a few helper functions that allows storing the results to a
file and loading it back.

Instead of having the file-checker object that would compare the
extracted values from the file to expected results set to its properties,
the media-info will store the values and it will be possible to compare
old media-info with new media-info from the same file. This allows
tracking improvements and regressions on different gstreamer versions.

Right now, the media-info is very tiny and doesn't store much info, only
the uri and the file size in bytes, but it will receive more additions in
the upcoming commits for storing duration, media topology, seekability and
playback information.

10 years ago.gitignore: Update for 1.0 and cleanup
Edward Hervey [Fri, 16 Aug 2013 13:15:51 +0000 (15:15 +0200)]
.gitignore: Update for 1.0 and cleanup

10 years agoall: Enable more C warnings at build time
Edward Hervey [Fri, 16 Aug 2013 13:05:54 +0000 (15:05 +0200)]
all: Enable more C warnings at build time

And fix the issues:
* Proper forward declaration
* static functions marked properly
* absolute includes
* declaration order

10 years agoreporter: Fix proper debug message output partially
Edward Hervey [Fri, 16 Aug 2013 12:27:29 +0000 (14:27 +0200)]
reporter: Fix proper debug message output partially

In order for the special gstreamer print argument handler to be used
you can't use g_strdup_printf. You need to pass it the actual va_list.

10 years agopad-monitor: Handle case where internal pad iterator is NULL
Edward Hervey [Fri, 16 Aug 2013 12:26:35 +0000 (14:26 +0200)]
pad-monitor: Handle case where internal pad iterator is NULL

Can happen with inputselector

10 years agopad-monitor: Don't use signal that doesn't exist
Edward Hervey [Fri, 16 Aug 2013 12:25:49 +0000 (14:25 +0200)]
pad-monitor: Don't use signal that doesn't exist

Note that we should just ensure we always get the pads from the parent

10 years agopad-monitor: Update raw audio caps checks
Edward Hervey [Fri, 16 Aug 2013 12:24:12 +0000 (14:24 +0200)]
pad-monitor: Update raw audio caps checks

10 years agopad-monitor: Fix locking issues
Edward Hervey [Fri, 16 Aug 2013 12:23:05 +0000 (14:23 +0200)]
pad-monitor: Fix locking issues

We were taking locks twice.

Also add debugging info when taking/releasing locks to help further similar issues

10 years agofile-checker: GstEncodingProfile is a GObject in 1.0
Edward Hervey [Fri, 16 Aug 2013 09:24:11 +0000 (11:24 +0200)]
file-checker: GstEncodingProfile is a GObject in 1.0

10 years agogst-validate: port to 1.0
Thiago Santos [Thu, 15 Aug 2013 04:46:27 +0000 (01:46 -0300)]
gst-validate: port to 1.0

10 years agopo: missing po rename
Thiago Santos [Thu, 15 Aug 2013 04:44:59 +0000 (01:44 -0300)]
po: missing po rename

10 years agovalidade: add missing config.h includes
Thiago Santos [Wed, 14 Aug 2013 23:03:43 +0000 (20:03 -0300)]
validade: add missing config.h includes

10 years agovalidate: add init function
Thiago Santos [Wed, 14 Aug 2013 22:14:18 +0000 (19:14 -0300)]
validate: add init function

Adds an init() function that should be called before using the lib.
It takes care of calling all internal initializing functions in
gst-validete

10 years agotools: improve documentation
Thiago Santos [Wed, 14 Aug 2013 21:04:23 +0000 (18:04 -0300)]
tools: improve documentation

10 years agorename gst-qa -> gst-validate
Thiago Santos [Wed, 14 Aug 2013 19:30:39 +0000 (16:30 -0300)]
rename gst-qa -> gst-validate

10 years agopad-monitor: only do complete caps checks on setcaps
Thiago Santos [Wed, 14 Aug 2013 18:58:34 +0000 (15:58 -0300)]
pad-monitor: only do complete caps checks on setcaps

On get caps it is acceptable to have missing fields to simplify caps
negotiation

10 years agoqa-preload: split to separate lib
Thiago Santos [Tue, 13 Aug 2013 16:40:48 +0000 (13:40 -0300)]
qa-preload: split to separate lib

It should only be used separately, otherwise it will wrap around any
pipeline from applications linking with gstqa

10 years agofile-check: add reverse-playback test
Thiago Santos [Mon, 12 Aug 2013 18:18:36 +0000 (15:18 -0300)]
file-check: add reverse-playback test

Adds a test that checks if reverse playback works without errors

10 years agoqa-reporter: Make debug message a bit more readable
Edward Hervey [Tue, 13 Aug 2013 09:07:31 +0000 (11:07 +0200)]
qa-reporter: Make debug message a bit more readable

By surrounding it with double quotes

10 years agopad-monitor: 0.10 uses "channel-positions" field in audio caps
Edward Hervey [Tue, 13 Aug 2013 09:07:05 +0000 (11:07 +0200)]
pad-monitor: 0.10 uses "channel-positions" field in audio caps

And it's an array, not a string

10 years agoMakefile: Clean up for make distcheck
Edward Hervey [Tue, 13 Aug 2013 08:11:42 +0000 (10:11 +0200)]
Makefile: Clean up for make distcheck

Directories, headers, files weren't properly disted

Also clean up the various CFLAGS/HEADERS/SOURCES variables and remove
ones that aren't needed.

10 years agopo: Add missing Makevars file
Edward Hervey [Tue, 13 Aug 2013 07:44:50 +0000 (09:44 +0200)]
po: Add missing Makevars file

11 years agopad-monitor: use correct variable for segment comparisons
Thiago Santos [Fri, 9 Aug 2013 15:37:49 +0000 (12:37 -0300)]
pad-monitor: use correct variable for segment comparisons

Use the expected versus the received instead of using the received
twice.

11 years agoreporter: fix printf format type
Thiago Santos [Fri, 9 Aug 2013 15:33:27 +0000 (12:33 -0300)]
reporter: fix printf format type

11 years agodocs: improve and update docs
Thiago Santos [Thu, 8 Aug 2013 15:35:50 +0000 (12:35 -0300)]
docs: improve and update docs

11 years agoqa-scenario: re add scenarios creation to bin-monitor
Thiago Santos [Wed, 7 Aug 2013 20:31:17 +0000 (17:31 -0300)]
qa-scenario: re add scenarios creation to bin-monitor

GstPipelines are monitored by bin monitors. Create scenarios if
requested from the bin monitors and store them there.

11 years agoqa-monitor: remove reference to the runner
Thiago Santos [Wed, 7 Aug 2013 19:22:36 +0000 (16:22 -0300)]
qa-monitor: remove reference to the runner

qa-monitor implements qa-reporter, and we already have a runner stored
there.

11 years agogitignore: ignore more binaries
Thiago Santos [Wed, 7 Aug 2013 19:13:33 +0000 (16:13 -0300)]
gitignore: ignore more binaries

11 years agoqa-file-check: add new binary to run file checks easily
Thiago Santos [Wed, 7 Aug 2013 19:12:45 +0000 (16:12 -0300)]
qa-file-check: add new binary to run file checks easily

It creates a GstQaFileChecker and runs it on the passed URI with
the tests enabled as arguments

11 years agoqa-runner: simplify runner to not hold refs to monitor/pipeline
Thiago Santos [Wed, 7 Aug 2013 19:10:57 +0000 (16:10 -0300)]
qa-runner: simplify runner to not hold refs to monitor/pipeline

The GstQaRunner is now a simple aggregator of reports that it receives
from monitors and filechecker. This allows it to be used in both
scenarios without  APIs that expect GstElement or Monitors, that are
only used on the pipeline monitoring QA tests.

11 years agofile-checker: add file playback testing feature
Thiago Santos [Wed, 7 Aug 2013 14:31:04 +0000 (11:31 -0300)]
file-checker: add file playback testing feature

Adds a property that triggers the file playback tests on
GstQaFileCheker. Also enable it in the gst-transcoding post file checks.

The implementation is simple, just create a playbin2 and use fakesinks
as sinks, set it to playing and wait for either EOS or ERROR messages.

11 years agoqa-reporter: fix typo
Thiago Santos [Tue, 6 Aug 2013 22:42:21 +0000 (19:42 -0300)]
qa-reporter: fix typo

11 years agofile-checker: include restriction caps tests when checking for profiles
Thiago Santos [Tue, 6 Aug 2013 22:39:58 +0000 (19:39 -0300)]
file-checker: include restriction caps tests when checking for profiles

Also move the caps check earlier on the path, to error out sooner and
avoid iterating the sub streams without needing

11 years agofile-checker: replace encoding profile comparison
Thiago Santos [Tue, 6 Aug 2013 21:17:39 +0000 (18:17 -0300)]
file-checker: replace encoding profile comparison

Use our own custom comparison to allow to add more fine grained error
reporting. Also the encoding profile is_equal function is too strict as
it also compares profiles names, that doesn't matter to us.

This commit implementation is still initial and needs improvements as it
isn't using the restriction caps, which includes information that might not be
on the profile format caps.

11 years agoqa-reporter: fix crash by avoiding unref an integer
Thiago Santos [Tue, 6 Aug 2013 13:36:58 +0000 (10:36 -0300)]
qa-reporter: fix crash by avoiding unref an integer

11 years agomakefile: fix build of gst-qa- tools
Thiago Santos [Tue, 6 Aug 2013 13:36:47 +0000 (10:36 -0300)]
makefile: fix build of gst-qa- tools

11 years agofile-checker: add error report and new report types
Thiago Santos [Tue, 6 Aug 2013 13:36:02 +0000 (10:36 -0300)]
file-checker: add error report and new report types

Add a list of new report types and use them in the file-checker.
The errors are mostly related to testing file attributes against
expected values