[Bug 739854] validate:scenario: Properly handle ASYNC action execution in the API
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 11 12:15:37 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=739854
GStreamer | gst-devtools | unspecified
Thibault Saunier <tsaunier> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #290283|0 |1
is obsolete| |
--- Comment #3 from Thibault Saunier <tsaunier at gnome.org> 2014-11-11 20:15:33 UTC ---
Created an attachment (id=290433)
View: https://bugzilla.gnome.org/attachment.cgi?id=290433
Review: https://bugzilla.gnome.org/review?bug=739854&attachment=290433
validate:scenario: Properly handle ASYNC action execution in the API
The ->execute function now return a GstValidateExecuteActionReturn
which can be set as ASYNC in order to tell the scenario that the action
will be executed asynchronously, when the action is done, the caller is
responsible for calling gst_validate_action_set_done(); so that the
scenario keeps going on.
In this commit we make sure that the old API keeps working as
GST_VALIDATE_EXECUTE_ACTION_ERROR == FALSE and
GST_VALIDATE_EXECUTE_ACTION_OK == TRUE
Morevover GstValidateExecuteActionReturn is just a define
API:
+ gst_validate_action_set_done
+ GstValidateExecuteActionReturn
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list