Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7b7bbbbe
Commit
7b7bbbbe
authored
Feb 17, 2000
by
Jean-Marc Dressler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Petite modif dans la synchro, peut-�tre que cela marchera mieux, qui sait ?
parent
e4f60912
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
src/video_output/video_output.c
src/video_output/video_output.c
+5
-10
No files found.
src/video_output/video_output.c
View file @
7b7bbbbe
...
...
@@ -999,7 +999,7 @@ static void RunThread( vout_thread_t *p_vout)
#endif
// ???
i_trash_count
++
;
fprintf
(
stderr
,
"gap : %Ld
\n
"
,
display_date
-
last_display_date
);
//
fprintf( stderr, "gap : %Ld\n", display_date-last_display_date );
last_display_date
=
display_date
;
#if 1
if
(
display_date
<
current_date
&&
i_trash_count
>
4
)
...
...
@@ -1932,7 +1932,7 @@ static void Synchronize( vout_thread_t *p_vout, s64 i_delay )
if
(
i_delay
<
0
)
{
fprintf
(
stderr
,
"PANIC %d
\n
"
,
i_panic_count
);
//
fprintf( stderr, "PANIC %d\n", i_panic_count );
i_panic_count
++
;
}
...
...
@@ -1949,12 +1949,7 @@ static void Synchronize( vout_thread_t *p_vout, s64 i_delay )
if
(
p_vout
->
i_pictures
<
VOUT_SYNCHRO_HEAP_IDEAL_SIZE
)
{
i_truc
=
32
;
//i_synchro_inc += p_vout->i_pictures - VOUT_SYNCHRO_HEAP_IDEAL_SIZE;
}
if
(
i_delay
<
1000
)
{
//i_truc = 4;
i_synchro_inc
+=
p_vout
->
i_pictures
-
VOUT_SYNCHRO_HEAP_IDEAL_SIZE
;
}
}
...
...
@@ -1991,8 +1986,8 @@ static void Synchronize( vout_thread_t *p_vout, s64 i_delay )
r_synchro_level
=
VOUT_SYNCHRO_LEVEL_MAX
;
}
fprintf
(
stderr
,
"synchro level : %d, heap : %d (%d, %d) (%d, %f) - %Ld
\n
"
,
p_vout
->
i_synchro_level
,
p_vout
->
i_pictures
,
i_last_synchro_inc
,
i_synchro_inc
,
i_truc
,
r_synchro_level
,
i_delay
);
//
fprintf( stderr, "synchro level : %d, heap : %d (%d, %d) (%d, %f) - %Ld\n", p_vout->i_synchro_level,
//
p_vout->i_pictures, i_last_synchro_inc, i_synchro_inc, i_truc, r_synchro_level, i_delay );
i_last_synchro_inc
=
i_synchro_inc
;
}
...
...
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