mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tools: gst-stats: parse thread-id in windows debug logs properly
They don't seem to have the "0x" prefix. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/376>
This commit is contained in:
parent
333b77bc9f
commit
df6cbe64cd
1 changed files with 4 additions and 2 deletions
|
@ -822,14 +822,16 @@ static gboolean
|
|||
init (void)
|
||||
{
|
||||
/* compile the parser regexps */
|
||||
/* 0:00:00.004925027 31586 0x1c5c600 DEBUG GST_REGISTRY gstregistry.c:463:gst_registry_add_plugin:<registry0> adding plugin 0x1c79160 for filename "/usr/lib/gstreamer-1.0/libgstxxx.so" */
|
||||
/* 0:00:00.004925027 31586 0x1c5c600 DEBUG GST_REGISTRY gstregistry.c:463:gst_registry_add_plugin:<registry0> adding plugin 0x1c79160 for filename "/usr/lib/gstreamer-1.0/libgstxxx.so"
|
||||
* 0:00:02.719599000 35292 000001C031A49C60 DEBUG GST_TRACER gsttracer.c:162:gst_tracer_register:<registry0> update existing feature 000001C02F9843C0 (latency)
|
||||
*/
|
||||
raw_log = g_regex_new (
|
||||
/* 1: ts */
|
||||
"^([0-9:.]+) +"
|
||||
/* 2: pid */
|
||||
"([0-9]+) +"
|
||||
/* 3: thread */
|
||||
"(0x[0-9a-fA-F]+) +"
|
||||
"(0?x?[0-9a-fA-F]+) +"
|
||||
/* 4: level */
|
||||
"([A-Z]+) +"
|
||||
/* 5: category */
|
||||
|
|
Loading…
Reference in a new issue