Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
dbc8428d
Commit
dbc8428d
authored
Sep 05, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove libvlc event queue slightly incorrect debug
parent
32b1eabf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
lib/event_async.c
lib/event_async.c
+0
-19
No files found.
lib/event_async.c
View file @
dbc8428d
...
...
@@ -47,9 +47,6 @@ struct libvlc_event_async_queue {
bool
is_idle
;
vlc_cond_t
signal_idle
;
vlc_threadvar_t
is_asynch_dispatch_thread_var
;
#ifndef NDEBUG
long
count
;
#endif
};
/*
...
...
@@ -89,15 +86,6 @@ static void push(libvlc_event_manager_t * p_em,
else
queue
(
p_em
)
->
last_elmt
->
next
=
elmt
;
queue
(
p_em
)
->
last_elmt
=
elmt
;
#ifndef NDEBUG
enum
{
MaxQueueSize
=
300000
};
if
(
queue
(
p_em
)
->
count
++
>
MaxQueueSize
)
{
fprintf
(
stderr
,
"Warning: libvlc event overflow.
\n
"
);
abort
();
}
#endif
}
static
inline
void
queue_lock
(
libvlc_event_manager_t
*
p_em
)
...
...
@@ -124,10 +112,6 @@ static bool pop(libvlc_event_manager_t * p_em,
queue
(
p_em
)
->
first_elmt
=
elmt
->
next
;
if
(
!
elmt
->
next
)
queue
(
p_em
)
->
last_elmt
=
NULL
;
#ifndef NDEBUG
queue
(
p_em
)
->
count
--
;
#endif
free
(
elmt
);
return
true
;
}
...
...
@@ -147,9 +131,6 @@ static void pop_listener(libvlc_event_manager_t * p_em, libvlc_event_listener_t
prev
->
next
=
to_delete
->
next
;
iter
=
to_delete
->
next
;
free
(
to_delete
);
#ifndef NDEBUG
queue
(
p_em
)
->
count
--
;
#endif
}
else
{
prev
=
iter
;
...
...
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