validate: Allow comments in scenario files
Comment are per line only and start with #
This commit is contained in:
parent
f45524a3cc
commit
8899ad004c
@ -1402,7 +1402,7 @@ init_scenarios (void)
|
||||
|
||||
_gst_validate_action_type = gst_validate_action_get_type ();
|
||||
|
||||
clean_action_str = g_regex_new ("\\\\\n", G_REGEX_CASELESS, 0, NULL);
|
||||
clean_action_str = g_regex_new ("\\\\\n|#.*\n", G_REGEX_CASELESS, 0, NULL);
|
||||
gst_validate_add_action_type ("seek", _execute_seek, seek_mandatory_fields,
|
||||
"Allows to seek into the files", FALSE);
|
||||
gst_validate_add_action_type ("pause", _execute_pause, NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user