mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
fix bug in time format regex
This commit is contained in:
parent
c8d243b931
commit
6533e038c9
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ check_time (const gchar * time)
|
|||
|
||||
if (!compiled) {
|
||||
compiled = TRUE;
|
||||
regcomp (&re, "^[0-9][0-9]:[0-5][0-9]:[0-5][0-9](.[0-9]+)?$",
|
||||
regcomp (&re, "^[0-9][0-9]:[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?$",
|
||||
REG_EXTENDED | REG_NOSUB);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue