Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrey Turkin
VLC
Commits
2cb6980d
Commit
2cb6980d
authored
1 year ago
by
Steve Lhomme
Browse files
Options
Downloads
Patches
Plain Diff
vout_subpictures: check the cache positioning of subtitles worked
parent
88fc7594
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/video_output/vout_subpictures.c
+6
-0
6 additions, 0 deletions
src/video_output/vout_subpictures.c
with
6 additions
and
0 deletions
src/video_output/vout_subpictures.c
+
6
−
0
View file @
2cb6980d
...
...
@@ -1489,6 +1489,12 @@ static vlc_render_subpicture *SpuRenderSubpictures(spu_t *spu,
output_last_ptr
->
place
.
y
+=
video_position
->
y
;
}
if
(
cache_pos
!=
NULL
)
{
assert
(
output_last_ptr
->
place
.
x
==
cache_pos
->
x
);
assert
(
output_last_ptr
->
place
.
y
==
cache_pos
->
y
);
}
vlc_vector_push
(
&
output
->
regions
,
output_last_ptr
);
if
(
subpic
->
b_subtitle
&&
!
subpic
->
b_absolute
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment