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
de2868c4
Commit
de2868c4
authored
Oct 06, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/input_dec.c: forgot to commit that with my last libmpeg2 plugin changes.
parent
1552b5a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/input/input_dec.c
src/input/input_dec.c
+4
-1
No files found.
src/input/input_dec.c
View file @
de2868c4
...
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: input_dec.c,v 1.6
2 2003/09/02 20:19:26
gbazin Exp $
* $Id: input_dec.c,v 1.6
3 2003/10/06 15:22:53
gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -383,6 +383,8 @@ static int DecoderThread( decoder_t * p_dec )
for
(
i_size
=
0
,
p_data
=
p_pes
->
p_first
;
p_data
!=
NULL
;
p_data
=
p_data
->
p_next
)
{
if
(
p_data
->
p_payload_end
==
p_data
->
p_payload_start
)
continue
;
memcpy
(
p_block
->
p_buffer
+
i_size
,
p_data
->
p_payload_start
,
p_data
->
p_payload_end
-
p_data
->
p_payload_start
);
i_size
+=
p_data
->
p_payload_end
-
p_data
->
p_payload_start
;
...
...
@@ -390,6 +392,7 @@ static int DecoderThread( decoder_t * p_dec )
p_block
->
i_pts
=
p_pes
->
i_pts
;
p_block
->
i_dts
=
p_pes
->
i_dts
;
p_block
->
b_discontinuity
=
p_pes
->
b_discontinuity
;
p_dec
->
p_fifo
->
b_error
=
p_dec
->
pf_decode
(
p_dec
,
p_block
);
input_DeletePES
(
p_dec
->
p_fifo
->
p_packets_mgt
,
p_pes
);
...
...
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