diff options
author | René Stadler <mail@renestadler.de> | 2012-09-20 23:51:05 +0200 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2012-09-20 23:51:05 +0200 |
commit | 0fe5a1b37c1eff55484f60f8d9ef3e8424e340ee (patch) | |
tree | c143bd9df0de0d79af38ea9d5f5de9d55b88260f /GstDebugViewer | |
parent | 1f7fea508eee7df339a5bdeff5e575e0ebd025d7 (diff) |
Data: fix parsing of lines missing filename or function name
E.g. ffmpeg.
Diffstat (limited to 'GstDebugViewer')
-rw-r--r-- | GstDebugViewer/Data.py | 4 |
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 = "(?:<([^>]+)> )?" |