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
a8d2d402
Commit
a8d2d402
authored
Oct 24, 2012
by
Ilkka Ollakka
Committed by
Rémi Denis-Courmont
Oct 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: actually do the audio encode flushing
parent
1e0a7a8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
modules/stream_out/transcode/audio.c
modules/stream_out/transcode/audio.c
+10
-0
No files found.
modules/stream_out/transcode/audio.c
View file @
a8d2d402
...
@@ -340,6 +340,16 @@ int transcode_audio_process( sout_stream_t *p_stream,
...
@@ -340,6 +340,16 @@ int transcode_audio_process( sout_stream_t *p_stream,
block_t
*
p_block
,
*
p_audio_buf
;
block_t
*
p_block
,
*
p_audio_buf
;
*
out
=
NULL
;
*
out
=
NULL
;
if
(
unlikely
(
in
==
NULL
)
)
{
block_t
*
p_block
;
do
{
p_block
=
id
->
p_encoder
->
pf_encode_audio
(
id
->
p_encoder
,
NULL
);
block_ChainAppend
(
out
,
p_block
);
}
while
(
p_block
);
return
VLC_SUCCESS
;
}
while
(
(
p_audio_buf
=
id
->
p_decoder
->
pf_decode_audio
(
id
->
p_decoder
,
while
(
(
p_audio_buf
=
id
->
p_decoder
->
pf_decode_audio
(
id
->
p_decoder
,
&
in
))
)
&
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