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
d743958e
Commit
d743958e
authored
Feb 25, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/input_dec.c: compilation fix.
parent
80602ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/input/input_dec.c
src/input/input_dec.c
+4
-3
No files found.
src/input/input_dec.c
View file @
d743958e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
* input_dec.c: Functions for the management of decoders
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* Copyright (C) 1999-2004 VideoLAN
* $Id: input_dec.c,v 1.9
1 2004/02/25 12:38:33 fenrir
Exp $
* $Id: input_dec.c,v 1.9
2 2004/02/25 18:47:02 gbazin
Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
* Gildas Bazin <gbazin@netcourrier.com>
...
@@ -257,7 +257,8 @@ void input_DecodePES( decoder_t * p_dec, pes_packet_t * p_pes )
...
@@ -257,7 +257,8 @@ void input_DecodePES( decoder_t * p_dec, pes_packet_t * p_pes )
}
}
p_block
->
i_pts
=
p_pes
->
i_pts
;
p_block
->
i_pts
=
p_pes
->
i_pts
;
p_block
->
i_dts
=
p_pes
->
i_dts
;
p_block
->
i_dts
=
p_pes
->
i_dts
;
p_block
->
b_discontinuity
=
p_pes
->
b_discontinuity
;
if
(
p_pes
->
b_discontinuity
)
p_block
->
i_flags
|=
BLOCK_FLAG_DISCONTINUITY
;
p_block
->
i_rate
=
p_pes
->
i_rate
;
p_block
->
i_rate
=
p_pes
->
i_rate
;
input_DecodeBlock
(
p_dec
,
p_block
);
input_DecodeBlock
(
p_dec
,
p_block
);
...
@@ -306,7 +307,7 @@ static void input_NullPacket( input_thread_t * p_input,
...
@@ -306,7 +307,7 @@ static void input_NullPacket( input_thread_t * p_input,
if
(
p_block
)
if
(
p_block
)
{
{
memset
(
p_block
->
p_buffer
,
0
,
PADDING_PACKET_SIZE
);
memset
(
p_block
->
p_buffer
,
0
,
PADDING_PACKET_SIZE
);
p_block
->
b_discontinuity
=
1
;
p_block
->
i_flags
|=
BLOCK_FLAG_DISCONTINUITY
;
block_FifoPut
(
p_es
->
p_dec
->
p_owner
->
p_fifo
,
p_block
);
block_FifoPut
(
p_es
->
p_dec
->
p_owner
->
p_fifo
,
p_block
);
}
}
...
...
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