Data: fix parsing of lines missing filename or function name

E.g. ffmpeg.
This commit is contained in:
René Stadler 2012-09-20 23:51:05 +02:00 committed by Stefan Sauer
parent c8dc50da40
commit 33a8efa93d

View file

@ -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 = "(?:<([^>]+)> )?"