summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2012-09-20 23:51:05 +0200
committerRené Stadler <mail@renestadler.de>2012-09-20 23:51:05 +0200
commit0fe5a1b37c1eff55484f60f8d9ef3e8424e340ee (patch)
treec143bd9df0de0d79af38ea9d5f5de9d55b88260f
parent1f7fea508eee7df339a5bdeff5e575e0ebd025d7 (diff)
Data: fix parsing of lines missing filename or function name
E.g. ffmpeg.
-rw-r--r--GstDebugViewer/Data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/GstDebugViewer/Data.py b/GstDebugViewer/Data.py
index 4c5d70d..9b8022e 100644
--- a/GstDebugViewer/Data.py
+++ b/GstDebugViewer/Data.py
@@ -145,9 +145,9 @@ def default_log_line_regex_ ():
CATEGORY = "([A-Za-z0-9_-]+)\s+" # "GST_REFCOUNTING ", "flacdec "
# " 3089 "
PID = r"(\d+)\s+"
- FILENAME = r"([^:]+):"
+ FILENAME = r"([^:]*):"
LINE = r"(\d+):"
- FUNCTION = "([A-Za-z0-9_]+):"
+ FUNCTION = "([A-Za-z0-9_]*):"
# FIXME: When non-g(st)object stuff is logged with *_OBJECT (like
# buffers!), the address is printed *without* <> brackets!
OBJECT = "(?:<([^>]+)> )?"