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
fc6b9b04
Commit
fc6b9b04
authored
Feb 01, 2000
by
Christophe Massiot
Browse files
Tentative d'amelioration de la synchro.
parent
c1094d99
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/video_parser/vpar_synchro.c
View file @
fc6b9b04
...
...
@@ -440,7 +440,7 @@ boolean_t vpar_SynchroChoose( vpar_thread_t * p_vpar, int i_coding_type,
void
vpar_SynchroTrash
(
vpar_thread_t
*
p_vpar
,
int
i_coding_type
,
int
i_structure
)
{
if
(
DECODER_FIFO_START
(
p_vpar
->
fifo
)
->
b_has_pts
)
if
(
DECODER_FIFO_START
(
p_vpar
->
fifo
)
->
b_has_pts
&&
i_coding_type
==
I_CODING_TYPE
)
{
p_vpar
->
synchro
.
kludge_nbframes
=
0
;
p_vpar
->
synchro
.
kludge_date
=
DECODER_FIFO_START
(
p_vpar
->
fifo
)
->
i_pts
;
...
...
@@ -453,7 +453,7 @@ void vpar_SynchroTrash( vpar_thread_t * p_vpar, int i_coding_type,
void
vpar_SynchroDecode
(
vpar_thread_t
*
p_vpar
,
int
i_coding_type
,
int
i_structure
)
{
if
(
DECODER_FIFO_START
(
p_vpar
->
fifo
)
->
b_has_pts
)
if
(
DECODER_FIFO_START
(
p_vpar
->
fifo
)
->
b_has_pts
&&
i_coding_type
==
I_CODING_TYPE
)
{
p_vpar
->
synchro
.
kludge_nbframes
=
0
;
p_vpar
->
synchro
.
kludge_date
=
DECODER_FIFO_START
(
p_vpar
->
fifo
)
->
i_pts
;
...
...
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