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
6c0ef07d
Commit
6c0ef07d
authored
Jan 20, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/audio_output/output.c: skip late buffers in b_can_sleek mode (patch courtesy of )
parent
52ccf5a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/audio_output/output.c
src/audio_output/output.c
+6
-1
No files found.
src/audio_output/output.c
View file @
6c0ef07d
...
...
@@ -275,7 +275,12 @@ aout_buffer_t * aout_OutputNextBuffer( aout_instance_t * p_aout,
vlc_mutex_lock
(
&
p_aout
->
output_fifo_lock
);
p_buffer
=
p_aout
->
output
.
fifo
.
p_first
;
while
(
p_buffer
&&
p_buffer
->
start_date
<
mdate
()
-
AOUT_PTS_TOLERANCE
)
/* Drop the audio sample if the audio output is really late.
* In the case of b_can_sleek, we don't use a resampler so we need to be
* a lot more severe. */
while
(
p_buffer
&&
p_buffer
->
start_date
<
(
b_can_sleek
?
start_date
:
mdate
())
-
AOUT_PTS_TOLERANCE
)
{
msg_Dbg
(
p_aout
,
"audio output is too slow ("
I64Fd
"), "
"trashing "
I64Fd
"us"
,
mdate
()
-
p_buffer
->
start_date
,
...
...
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