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
592b1bd4
Commit
592b1bd4
authored
Feb 23, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Added debug messages.
parent
4dd0ebcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
src/video_parser/vpar_synchro.c
src/video_parser/vpar_synchro.c
+11
-3
No files found.
src/video_parser/vpar_synchro.c
View file @
592b1bd4
...
...
@@ -2,7 +2,7 @@
* vpar_synchro.c : frame dropping routines
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_synchro.c,v 1.8
5 2001/02/12 18:18:1
8 massiot Exp $
* $Id: vpar_synchro.c,v 1.8
6 2001/02/23 13:22:5
8 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
...
...
@@ -370,7 +370,8 @@ void vpar_SynchroDecode( vpar_thread_t * p_vpar, int i_coding_type,
else
{
/* FIFO full, panic() */
intf_ErrMsg
(
"vpar error: synchro fifo full, estimations will be biased"
);
intf_ErrMsg
(
"vpar error: synchro fifo full, estimations will be biased (%d:%d)"
,
p_vpar
->
synchro
.
i_start
,
p_vpar
->
synchro
.
i_end
);
}
#ifdef VDEC_SMP
vlc_mutex_unlock
(
&
p_vpar
->
synchro
.
fifo_lock
);
...
...
@@ -389,10 +390,11 @@ void vpar_SynchroEnd( vpar_thread_t * p_vpar, int i_garbage )
vlc_mutex_lock
(
&
p_vpar
->
synchro
.
fifo_lock
);
#endif
i_coding_type
=
p_vpar
->
synchro
.
pi_coding_types
[
p_vpar
->
synchro
.
i_start
];
if
(
!
i_garbage
)
{
tau
=
mdate
()
-
p_vpar
->
synchro
.
p_date_fifo
[
p_vpar
->
synchro
.
i_start
];
i_coding_type
=
p_vpar
->
synchro
.
pi_coding_types
[
p_vpar
->
synchro
.
i_start
];
/* If duration too high, something happened (pause ?), so don't
* take it into account. */
...
...
@@ -416,6 +418,12 @@ void vpar_SynchroEnd( vpar_thread_t * p_vpar, int i_garbage )
(
i_coding_type
==
P_CODING_TYPE
?
"P"
:
"I"
),
tau
);
#endif
}
else
{
intf_DbgMsg
(
"vpar synchro debug: aborting %s"
,
i_coding_type
==
B_CODING_TYPE
?
"B"
:
(
i_coding_type
==
P_CODING_TYPE
?
"P"
:
"I"
));
}
FIFO_INCREMENT
(
i_start
);
...
...
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