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
3969c2f5
Commit
3969c2f5
authored
Sep 22, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout_BufferAlloc: don't copy timestamps from original buffer
parent
4afebbfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
src/audio_output/common.c
src/audio_output/common.c
+0
-7
src/audio_output/filters.c
src/audio_output/filters.c
+2
-0
No files found.
src/audio_output/common.c
View file @
3969c2f5
...
...
@@ -721,12 +721,5 @@ aout_buffer_t *aout_BufferAlloc(aout_alloc_t *allocation, mtime_t microseconds,
buffer
->
i_size
=
i_alloc_size
;
buffer
->
p_buffer
=
(
uint8_t
*
)
buffer
+
sizeof
(
aout_buffer_t
);
buffer
->
b_discontinuity
=
false
;
if
(
old_buffer
)
{
buffer
->
start_date
=
old_buffer
->
start_date
;
buffer
->
end_date
=
old_buffer
->
end_date
;
}
return
buffer
;
}
src/audio_output/filters.c
View file @
3969c2f5
...
...
@@ -353,6 +353,8 @@ void aout_FiltersPlay( aout_instance_t * p_aout,
*
pp_input_buffer
);
if
(
p_output_buffer
==
NULL
)
return
;
p_output_buffer
->
start_date
=
(
*
pp_input_buffer
)
->
start_date
;
p_output_buffer
->
end_date
=
(
*
pp_input_buffer
)
->
end_date
;
/* Please note that p_output_buffer->i_nb_samples & i_nb_bytes
* shall be set by the filter plug-in. */
...
...
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