summaryrefslogtreecommitdiff
path: root/GstDebugViewer
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2011-11-06 12:41:08 +0100
committerRené Stadler <mail@renestadler.de>2011-11-06 12:41:08 +0100
commit4c0dccac95231eefcfb62d4a596af535339a0b11 (patch)
tree10be462b263f03fc19680cacfddb92e53c24e0d2 /GstDebugViewer
parent8107642ab5b061f5f77f474aef6167c9d8d2b0fe (diff)
Data: remove log line serialization
This is incomplete and prone to error. Move it out into the utility script (which is the only user).
Diffstat (limited to 'GstDebugViewer')
-rw-r--r--GstDebugViewer/Data.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/GstDebugViewer/Data.py b/GstDebugViewer/Data.py
index 077aec0..4b3b68d 100644
--- a/GstDebugViewer/Data.py
+++ b/GstDebugViewer/Data.py
@@ -287,20 +287,6 @@ class LogLine (list):
return line
- def line_string (self, message = None):
-
- # Replicates gstreamer/gst/gstinfo.c:gst_debug_log_default.
-
- ts, pid, thread, level, category, filename, line, function, object_, message_offset = self
-
- if isinstance (message_offset, str):
- message = message_offset
-
- # FIXME: Regarding object_, this doesn't fully replicate the formatting!
- return "%s %5d 0x%x %s %20s %s:%d:%s:<%s> %s" % (time_args (ts), pid, thread, level.name.ljust (5),
- category, filename, line, function,
- object_, message,)
-
class LogLines (object):
def __init__ (self, fileobj, line_cache):