mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
Validate: Fix consider, launch spelling mistakes
https://bugzilla.gnome.org/show_bug.cgi?id=763289
This commit is contained in:
parent
7d9e9b3b79
commit
65560d8b03
7 changed files with 9 additions and 9 deletions
|
@ -32,7 +32,7 @@ GST_DEBUG_CATEGORY_EXTERN (gstvalidate_debug);
|
|||
extern GRegex *newline_regex;
|
||||
|
||||
|
||||
/* If an action type is 1 (TRUE) we also concider it is a config to keep backward compatibility */
|
||||
/* If an action type is 1 (TRUE) we also consider it is a config to keep backward compatibility */
|
||||
#define IS_CONFIG_ACTION_TYPE(type) (((type) & GST_VALIDATE_ACTION_TYPE_CONFIG) || ((type) == TRUE))
|
||||
|
||||
GST_EXPORT GType _gst_validate_action_type_type;
|
||||
|
|
|
@ -138,7 +138,7 @@ GType gst_validate_action_get_type (void);
|
|||
* is specified
|
||||
* @GST_VALIDATE_ACTION_TYPE_NEEDS_CLOCK: The pipeline will need to be synchronized with the clock
|
||||
* for that action type to be used.
|
||||
* @GST_VALIDATE_ACTION_TYPE_NO_EXECUTION_NOT_FATAL: Do not concider the non execution of the action
|
||||
* @GST_VALIDATE_ACTION_TYPE_NO_EXECUTION_NOT_FATAL: Do not consider the non execution of the action
|
||||
* as a fatal error.
|
||||
* @GST_VALIDATE_ACTION_TYPE_CAN_BE_OPTIONAL: The action can use the 'optional' keyword. Such action
|
||||
* instances will have the #GST_VALIDATE_ACTION_TYPE_NO_EXECUTION_NOT_FATAL
|
||||
|
|
|
@ -696,7 +696,7 @@ done:
|
|||
* @retval: (out): The clocktime contained in @structure
|
||||
*
|
||||
* Get @name from @structure as a #GstClockTime, it handles various types
|
||||
* for the value, if it is a double, it conciders the value to be in second
|
||||
* 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.
|
||||
|
|
|
@ -64,7 +64,7 @@ class HTTPServer(loggable.Loggable):
|
|||
|
||||
print "Starting Server"
|
||||
try:
|
||||
self.debug("Lunching http server")
|
||||
self.debug("Launching http server")
|
||||
cmd = "%s %s %d %s" % (sys.executable, os.path.join(os.path.dirname(__file__),
|
||||
"RangeHTTPServer.py"),
|
||||
self.options.http_server_port,
|
||||
|
@ -75,12 +75,12 @@ class HTTPServer(loggable.Loggable):
|
|||
# cmd = "twistd -no web --path=%s -p %d" % (
|
||||
# self.options.http_server_dir, self.options.http_server_port)
|
||||
self.debug(
|
||||
"Lunching server: %s (logs in %s)", cmd, self._logsfile)
|
||||
"Launching server: %s (logs in %s)", cmd, self._logsfile)
|
||||
self._process = subprocess.Popen(cmd.split(" "),
|
||||
stderr=self._logsfile,
|
||||
stdout=self._logsfile)
|
||||
os.chdir(curdir)
|
||||
self.debug("Lunched http server")
|
||||
self.debug("Launched http server")
|
||||
# Dirty way to avoid eating to much CPU...
|
||||
# good enough for us anyway.
|
||||
time.sleep(1)
|
||||
|
|
|
@ -34,7 +34,7 @@ DEFAULT_TIMEOUT = 30
|
|||
DEFAULT_MAIN_DIR = os.path.join(os.path.expanduser("~"), "gst-validate")
|
||||
DEFAULT_GST_QA_ASSETS = os.path.join(DEFAULT_MAIN_DIR, "gst-integration-testsuites")
|
||||
DISCOVERER_COMMAND = "gst-discoverer-1.0"
|
||||
# Use to set the duration from which a test is concidered as being 'long'
|
||||
# Use to set the duration from which a test is considered as being 'long'
|
||||
LONG_TEST = 40
|
||||
|
||||
|
||||
|
|
|
@ -486,7 +486,7 @@ gst_validate_gtk_init (GstPlugin * plugin)
|
|||
.description = "The event type to get executed. "
|
||||
"the string should look like the ones in GdkEventType but without"
|
||||
" the leading 'GDK_'. It is not mandatory as it can be computed from"
|
||||
" other present fields (e.g, an action with 'keys' will concider the type"
|
||||
" other present fields (e.g, an action with 'keys' will consider the type"
|
||||
" as 'key_pressed' by default).",
|
||||
.mandatory = FALSE,
|
||||
.types = "string",
|
||||
|
|
|
@ -68,7 +68,7 @@ main (int argc, char **argv)
|
|||
g_option_context_set_summary (ctx,
|
||||
"The gst-validate-images-check calculates SSIM (Structural SIMilarity) "
|
||||
" index for the images. And according to min-lowest-similarity and"
|
||||
" min-avg-similarity, it will concider the images similare enough"
|
||||
" min-avg-similarity, it will consider the images similar enough"
|
||||
" or report critical issues in the GstValidate reporting system");
|
||||
g_option_context_add_main_entries (ctx, options, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue