validate: display debug info when stopping because EOS

Summary:
Useful to know if we are executing the 'stop' command provided by the scenario
or not.

Reviewers: thiblahute

Differential Revision: http://phabricator.freedesktop.org/D155
This commit is contained in:
Guillaume Desmottes 2015-05-08 16:28:11 +02:00 committed by Thibault Saunier
parent ddc169196e
commit 63ca026b03

View file

@ -2087,6 +2087,7 @@ message_cb (GstBus * bus, GstMessage * message, GstValidateScenario * scenario)
}
SCENARIO_UNLOCK (scenario);
GST_DEBUG_OBJECT (scenario, "Got EOS; generate 'stop' action");
stop_action_type = _find_action_type ("stop");
stop_action = gst_validate_action_new (scenario, stop_action_type);