mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 02:33:53 +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) {
|
if (!compiled) {
|
||||||
compiled = TRUE;
|
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);
|
REG_EXTENDED | REG_NOSUB);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue