Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
96752870
Commit
96752870
authored
Jul 07, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Output a debug message at input creation/destruction.
parent
ab915f99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/input/input.c
src/input/input.c
+9
-0
No files found.
src/input/input.c
View file @
96752870
...
@@ -138,6 +138,9 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -138,6 +138,9 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
char
*
psz_name
=
input_item_GetName
(
p_item
);
char
*
psz_name
=
input_item_GetName
(
p_item
);
snprintf
(
psz_timer_name
,
sizeof
(
psz_timer_name
),
snprintf
(
psz_timer_name
,
sizeof
(
psz_timer_name
),
"input launching for '%s'"
,
psz_name
);
"input launching for '%s'"
,
psz_name
);
msg_Dbg
(
p_input
,
"Creating an input for '%s'"
,
psz_name
);
free
(
psz_name
);
free
(
psz_name
);
/* Start a timer to mesure how long it takes
/* Start a timer to mesure how long it takes
...
@@ -311,6 +314,12 @@ static void Destructor( input_thread_t * p_input )
...
@@ -311,6 +314,12 @@ static void Destructor( input_thread_t * p_input )
{
{
input_thread_private_t
*
priv
=
p_input
->
p
;
input_thread_private_t
*
priv
=
p_input
->
p
;
#ifndef NDEBUG
char
*
psz_name
=
input_item_GetName
(
p_input
->
p
->
input
.
p_item
);
msg_Dbg
(
p_input
,
"Destroying the input for '%s'"
,
psz_name
);
free
(
psz_name
);
#endif
vlc_event_manager_fini
(
&
p_input
->
p
->
event_manager
);
vlc_event_manager_fini
(
&
p_input
->
p
->
event_manager
);
stats_TimerDump
(
p_input
,
STATS_TIMER_INPUT_LAUNCHING
);
stats_TimerDump
(
p_input
,
STATS_TIMER_INPUT_LAUNCHING
);
...
...
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