[Bug 739854] New: validate:scenario: Properly handle ASYNC action execution in the API

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 9 10:23:01 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739854
  GStreamer | gst-devtools | unspecified

           Summary: validate:scenario: Properly handle ASYNC action
                    execution in the API
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-devtools
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tsaunier at gnome.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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