mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
validate: Allow comments in scenario files
Comment are per line only and start with #
This commit is contained in:
parent
f45524a3cc
commit
8899ad004c
1 changed files with 1 additions and 1 deletions
|
@ -1402,7 +1402,7 @@ init_scenarios (void)
|
||||||
|
|
||||||
_gst_validate_action_type = gst_validate_action_get_type ();
|
_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,
|
gst_validate_add_action_type ("seek", _execute_seek, seek_mandatory_fields,
|
||||||
"Allows to seek into the files", FALSE);
|
"Allows to seek into the files", FALSE);
|
||||||
gst_validate_add_action_type ("pause", _execute_pause, NULL,
|
gst_validate_add_action_type ("pause", _execute_pause, NULL,
|
||||||
|
|
Loading…
Reference in a new issue