validate:runner: Add a method to force exiting the runner
authorThibault Saunier <tsaunier@gnome.org>
Wed, 27 May 2015 11:18:33 +0000 (13:18 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Sat, 6 Jun 2015 06:50:47 +0000 (08:50 +0200)
commitdfe29c56e596fe314ed21c06ad91e0740d499bf8
treec6490b4aed3c29b75297625c54ab09076d53bed0
parent5ce8ab213e767e3af7c96c3e1d7919bca2514d5e
validate:runner: Add a method to force exiting the runner

This method is similar to runner_printf() but can be used
only once. The user needs to make sure all the pipeline
are in NULL state when this is called.

The method emits a "STOPPING" signal and at that point
overrides or monitors should do extra processing/checks if
needed.

+ Make use of it everywhere where it makes sense.

API:
  gst_validate_runner_exit
  GstValidateRunner::stopping signal
validate/gst/preload/gst-validate-monitor-preload.c
validate/gst/validate/gst-validate-reporter.c
validate/gst/validate/gst-validate-runner.c
validate/gst/validate/gst-validate-runner.h
validate/tools/gst-validate-media-check.c
validate/tools/gst-validate-transcoding.c
validate/tools/gst-validate.c