Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f31861b0
Commit
f31861b0
authored
Mar 11, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input_dec: sout uses block_t.
parent
3a967bf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
22 deletions
+2
-22
src/input/input_dec.c
src/input/input_dec.c
+2
-22
No files found.
src/input/input_dec.c
View file @
f31861b0
...
@@ -643,31 +643,11 @@ static int DecoderDecode( decoder_t *p_dec, block_t *p_block )
...
@@ -643,31 +643,11 @@ static int DecoderDecode( decoder_t *p_dec, block_t *p_block )
while
(
p_sout_block
)
while
(
p_sout_block
)
{
{
block_t
*
p_next
=
p_sout_block
->
p_next
;
block_t
*
p_next
=
p_sout_block
->
p_next
;
sout_buffer_t
*
p_sout_buffer
;
p_sout_buffer
=
p_sout_block
->
p_next
=
NULL
;
sout_BufferNew
(
p_dec
->
p_owner
->
p_sout_input
->
p_sout
,
p_sout_block
->
i_buffer
);
if
(
p_sout_buffer
==
NULL
)
{
msg_Err
(
p_dec
,
"cannot get sout buffer"
);
break
;
}
memcpy
(
p_sout_buffer
->
p_buffer
,
p_sout_block
->
p_buffer
,
p_sout_block
->
i_buffer
);
p_sout_buffer
->
i_pts
=
p_sout_block
->
i_pts
;
p_sout_buffer
->
i_dts
=
p_sout_block
->
i_dts
;
p_sout_buffer
->
i_length
=
p_sout_block
->
i_length
;
p_sout_buffer
->
i_flags
=
(
p_sout_block
->
i_flags
<<
SOUT_BUFFER_FLAGS_BLOCK_SHIFT
)
&
SOUT_BUFFER_FLAGS_BLOCK_MASK
;
block_Release
(
p_sout_block
);
sout_InputSendBuffer
(
p_dec
->
p_owner
->
p_sout_input
,
sout_InputSendBuffer
(
p_dec
->
p_owner
->
p_sout_input
,
p_sout_b
uffer
);
p_sout_b
lock
);
p_sout_block
=
p_next
;
p_sout_block
=
p_next
;
}
}
...
...
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