Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e1aa97a9
Commit
e1aa97a9
authored
Feb 03, 2013
by
Edward Wang
Committed by
Rafaël Carré
Feb 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: Win32: add message categories to debug logs
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
434cf8e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/misc/messages.c
src/misc/messages.c
+8
-3
No files found.
src/misc/messages.c
View file @
e1aa97a9
...
@@ -325,9 +325,14 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item,
...
@@ -325,9 +325,14 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item,
msg
[
msg_len
]
=
'\n'
;
msg
[
msg_len
]
=
'\n'
;
msg
[
msg_len
+
1
]
=
'\0'
;
msg
[
msg_len
+
1
]
=
'\0'
;
}
}
wchar_t
*
wmsg
=
ToWide
(
msg
);
char
*
psz_msg
=
NULL
;
OutputDebugStringW
(
wmsg
);
if
(
asprintf
(
&
psz_msg
,
"%s %s%s: %s"
,
p_item
->
psz_module
,
free
(
wmsg
);
p_item
->
psz_object_type
,
msg_type
[
type
],
msg
)
>
0
)
{
wchar_t
*
wmsg
=
ToWide
(
psz_msg
);
OutputDebugStringW
(
wmsg
);
free
(
wmsg
);
free
(
psz_msg
);
}
}
}
free
(
msg
);
free
(
msg
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment