Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1fc22d15
Commit
1fc22d15
authored
May 07, 2009
by
Laurent Aimar
Browse files
Replaced DIRAC_EOS by BLOCK_FLAG_END_OF_SEQUENCE.
parent
f7a8bc79
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/packetizer/dirac.c
View file @
1fc22d15
...
...
@@ -185,7 +185,6 @@ enum {
};
enum
{
DIRAC_EOS
=
0x02000000
,
DIRAC_NON_DATED
=
0x04000000
,
DIRAC_DISCARD
=
0x08000000
,
};
...
...
@@ -854,7 +853,7 @@ static int dirac_InspectDataUnit( decoder_t *p_dec, block_t **pp_block, block_t
return
DIRAC_DU_IN_EU
;
}
/* p_block is an EOS packet */
p_eu
->
i_flags
|=
DIRAC_EOS
;
p_eu
->
i_flags
|=
BLOCK_FLAG_END_OF_SEQUENCE
;
/* for the moment, let this end an encapsulation unit */
/* seeing an eos packet requires a flush of the packetizer
* this is detected by the caller of this function */
...
...
@@ -1063,7 +1062,7 @@ static int dirac_TimeGenPush( decoder_t *p_dec, block_t *p_block_in )
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
dirac_block_encap_t
*
dbe
;
if
(
p_block_in
->
i_flags
&
DIRAC_EOS
)
if
(
p_block_in
->
i_flags
&
BLOCK_FLAG_END_OF_SEQUENCE
)
{
/* NB, this test occurs after the timegen push, so as to
* push the block into the output queue */
...
...
Write
Preview
Supports
Markdown
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