validate: scenario: fix documentation for GstValidateAction
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Tue, 28 Mar 2017 20:30:04 +0000 (13:30 -0700)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Tue, 28 Mar 2017 22:03:54 +0000 (15:03 -0700)
Additionally:
 Improve GstValidatePrepareAction documentation
 Correct one-off use of 'eos' instead of EOS.

validate/gst/validate/gst-validate-scenario.c
validate/gst/validate/gst-validate-scenario.h

index 84686fe..61bd07a 100644 (file)
@@ -763,7 +763,7 @@ _execute_stop (GstValidateScenario * scenario, GstValidateAction * action)
 static gboolean
 _execute_eos (GstValidateScenario * scenario, GstValidateAction * action)
 {
-  GST_DEBUG ("Sending eos to pipeline at %" GST_TIME_FORMAT,
+  GST_DEBUG ("Sending EOS to pipeline at %" GST_TIME_FORMAT,
       GST_TIME_ARGS (action->playback_time));
 
   return gst_element_send_event (scenario->pipeline, gst_event_new_eos ());
index 8bee69d..2c345bf 100644 (file)
@@ -68,11 +68,11 @@ typedef GstValidateExecuteActionReturn (*GstValidateExecuteAction) (GstValidateS
  * @action: The #GstValidateAction to prepare before execution
  *
  * A function that prepares @action so it can be executed right after.
- * Most of the time that function is used to parse and set field with
+ * Most of the time this function is used to parse and set fields with
  * equations in the action structure.
  *
- * Returns: %TRUE if the action could be prepared and is ready to be run
- *          %FALSE otherwise
+ * Returns: %TRUE if the action could be prepared and is ready to be run
+ *          %FALSE otherwise
  */
 typedef gboolean (*GstValidatePrepareAction) (GstValidateAction * action);
 
@@ -86,8 +86,8 @@ typedef struct _GstValidateActionPrivate          GstValidateActionPrivate;
  *        #gst_validate_register_action_type
  * @name: The name of the action, set from the user in the scenario
  * @structure: the #GstStructure defining the action
- * @scenario: The scenario for this action. This is not thread
- * safe and should be accessed exculsively from the main thread.
+ * @scenario: The scenario for this action. This is not thread-safe
+ * and should be accessed exclusively from the main thread.
  * If you need to access it from another thread use the
  * #gst_validate_action_get_scenario method
  *