Commit a6ffa3fb authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

subparse: Correctly escape brackets in DKS regex

Fixes bug #612783.
parent 2221e404
......@@ -1256,7 +1256,7 @@ gst_sub_parse_data_format_autodetect_regex_once (GstSubParseRegex regtype)
result = (gpointer) g_regex_new ("^\[[0-9]+:[0-9]+:[0-9]+].*",
result = (gpointer) g_regex_new ("^\\[[0-9]+:[0-9]+:[0-9]+\\].*",
0, 0, &gerr);
if (result == NULL) {
g_warning ("Compilation of dks regex failed: %s", gerr->message);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment