Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
eb57119f
Commit
eb57119f
authored
May 26, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_filter/mosaic.c: Fixed a major bug with video/audio synchro.
parent
d7b6f81c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
modules/video_filter/mosaic.c
modules/video_filter/mosaic.c
+10
-3
No files found.
modules/video_filter/mosaic.c
View file @
eb57119f
...
@@ -391,10 +391,11 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
...
@@ -391,10 +391,11 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
video_format_t
fmt_in
=
{
0
},
fmt_out
=
{
0
};
video_format_t
fmt_in
=
{
0
},
fmt_out
=
{
0
};
picture_t
*
p_converted
;
picture_t
*
p_converted
;
if
(
p_es
->
b_empty
||
p_es
->
p_picture
==
NULL
)
if
(
p_es
->
b_empty
)
continue
;
continue
;
if
(
p_es
->
p_picture
->
date
+
p_sys
->
i_delay
<
date
)
while
(
p_es
->
p_picture
!=
NULL
&&
p_es
->
p_picture
->
date
+
p_sys
->
i_delay
<
date
)
{
{
if
(
p_es
->
p_picture
->
p_next
!=
NULL
)
if
(
p_es
->
p_picture
->
p_next
!=
NULL
)
{
{
...
@@ -409,14 +410,20 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
...
@@ -409,14 +410,20 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
p_es
->
p_picture
->
pf_release
(
p_es
->
p_picture
);
p_es
->
p_picture
->
pf_release
(
p_es
->
p_picture
);
p_es
->
p_picture
=
NULL
;
p_es
->
p_picture
=
NULL
;
p_es
->
pp_last
=
&
p_es
->
p_picture
;
p_es
->
pp_last
=
&
p_es
->
p_picture
;
continue
;
break
;
}
}
else
else
{
msg_Dbg
(
p_filter
,
"too late picture for %s ("
I64Fd
")"
,
msg_Dbg
(
p_filter
,
"too late picture for %s ("
I64Fd
")"
,
p_es
->
psz_id
,
p_es
->
psz_id
,
date
-
p_es
->
p_picture
->
date
-
p_sys
->
i_delay
);
date
-
p_es
->
p_picture
->
date
-
p_sys
->
i_delay
);
break
;
}
}
}
if
(
p_es
->
p_picture
==
NULL
)
continue
;
if
(
p_sys
->
i_order_length
==
0
)
if
(
p_sys
->
i_order_length
==
0
)
{
{
i_real_index
++
;
i_real_index
++
;
...
...
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