mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
validate: fix some recurring typos
This commit is contained in:
parent
73ac07d6e3
commit
07fa1b3ca5
3 changed files with 9 additions and 9 deletions
|
@ -96,7 +96,7 @@ static GstValidateActionType *_find_action_type (const gchar * type_name);
|
|||
|
||||
/* GstValidateScenario is not really thread safe and
|
||||
* everything should be done from the thread GstValidate
|
||||
* was inited from, unless stated otherwize.
|
||||
* was inited from, unless stated otherwise.
|
||||
*/
|
||||
struct _GstValidateScenarioPrivate
|
||||
{
|
||||
|
@ -449,7 +449,7 @@ _check_scenario_is_done (GstValidateScenario * scenario)
|
|||
* the 'position' and 'duration' variables. And it will always convert that
|
||||
* value to a GstClockTime.
|
||||
*
|
||||
* Returns: %TRUE if the time value could be retrieved/computed or %FALSE otherwize
|
||||
* Returns: %TRUE if the time value could be retrieved/computed or %FALSE otherwise
|
||||
*/
|
||||
gboolean
|
||||
gst_validate_action_get_clocktime (GstValidateScenario * scenario,
|
||||
|
@ -504,7 +504,7 @@ gst_validate_action_get_clocktime (GstValidateScenario * scenario,
|
|||
*
|
||||
* For more information you should have a look at #gst_event_new_seek
|
||||
*
|
||||
* Returns: %TRUE if the seek could be executed, %FALSE otherwize
|
||||
* Returns: %TRUE if the seek could be executed, %FALSE otherwise
|
||||
*/
|
||||
gboolean
|
||||
gst_validate_scenario_execute_seek (GstValidateScenario * scenario,
|
||||
|
@ -2937,7 +2937,7 @@ gst_validate_list_scenarios (gchar ** scenarios, gint num_scenarios,
|
|||
|
||||
done:
|
||||
result = g_key_file_to_data (kf, &datalength, &err);
|
||||
g_print ("All scenarios avalaible:\n%s", result);
|
||||
g_print ("All scenarios available:\n%s", result);
|
||||
|
||||
if (output_file && !err)
|
||||
g_file_set_contents (output_file, result, datalength, &err);
|
||||
|
|
|
@ -699,7 +699,7 @@ done:
|
|||
* for the value, if it is a double, it considers the value to be in second
|
||||
* it can be a gint, gint64 a guint, a gint64.
|
||||
*
|
||||
* Return: %TRUE in case of success, %FALSE otherwize.
|
||||
* Return: %TRUE in case of success, %FALSE otherwise.
|
||||
*/
|
||||
gboolean
|
||||
gst_validate_utils_get_clocktime (GstStructure * structure, const gchar * name,
|
||||
|
|
|
@ -74,7 +74,7 @@ you will need that tool to get started.
|
|||
---------------------------
|
||||
|
||||
To implement new tests, you will just need to set the media path using the
|
||||
--medias-paths argument. If you want to run all avalaible scenarios on all the
|
||||
--medias-paths argument. If you want to run all available scenarios on all the
|
||||
file present in that folder, you should run the first time:
|
||||
|
||||
. $gst-validate-launcher --medias-paths /path/to/media/files --generate-media-info
|
||||
|
@ -240,7 +240,7 @@ class LauncherConfig(Loggable):
|
|||
try:
|
||||
subprocess.check_output("gdb --help", shell=True)
|
||||
except subprocess.CalledProcessError:
|
||||
printc("Want to use gdb, but not avalaible on the system",
|
||||
printc("Want to use gdb, but not available on the system",
|
||||
Colors.FAIL)
|
||||
return False
|
||||
|
||||
|
@ -303,7 +303,7 @@ class LauncherConfig(Loggable):
|
|||
try:
|
||||
subprocess.check_output("valgrind --help", shell=True)
|
||||
except subprocess.CalledProcessError:
|
||||
printc("Want to use valgrind, but not avalaible on the system",
|
||||
printc("Want to use valgrind, but not available on the system",
|
||||
Colors.FAIL)
|
||||
return False
|
||||
|
||||
|
@ -355,7 +355,7 @@ if it succeeded loading the tests, False otherwise.
|
|||
You will be able to configure the TestManager with its various methods. This
|
||||
function will be called with each TestManager usable, for example you will be
|
||||
passed the 'validate' TestManager in case the GstValidateManager launcher is
|
||||
avalaible. You should configure it using:
|
||||
available. You should configure it using:
|
||||
|
||||
* test_manager.add_scenarios: which allows you to register a list of scenario names to be run
|
||||
* test_manager.set_default_blacklist: Lets you set a list of tuple of the form:
|
||||
|
|
Loading…
Reference in a new issue