Thibault Saunier
0127706e09
qa-report: Avoid reporting tons of times the exact same issue to users
...
Some of the issue can be reported once and for all. We are here avoiding to flood the
user with the same information repeated infinitely.
2013-07-19 11:15:53 -03:00
Thibault Saunier
cb4792a8e5
qa-monitor: Add a target name field that can be used even when the target is freed
2013-07-18 13:43:25 -03:00
Thibault Saunier
440d20ed00
qa-monitor: Allow detaill message to be in printf format
...
So we can give proper informations about what is wrong to users
2013-07-18 12:15:24 -03:00
Thiago Santos
fbd6aa1359
qa-monitor: Fix typo in printf format for report debug messages
...
Stringify the arguments correctly for printing
2013-07-17 00:25:11 -03:00
Thiago Santos
4e84ad6513
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.
2013-07-16 21:15:09 -03:00
Thiago Santos
cb6b45d375
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
2013-07-12 16:02:25 -03:00
Thiago Santos
3476fffd54
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
2013-07-12 12:43:07 -03:00
Thiago Santos
aeacc4270b
qa-monitor: add runner property
...
runner stores the GstQaRunner that will receive the error reports
from the monitors
2013-07-12 00:41:43 -03:00
Thiago Santos
ce0e8ab697
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
2013-07-10 14:15:57 -03:00