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
c8a6cbfe
Commit
c8a6cbfe
authored
Oct 09, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dead code in spu core (CID 249).
parent
9dd13ebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+1
-12
No files found.
src/video_output/vout_subpictures.c
View file @
c8a6cbfe
...
...
@@ -91,8 +91,6 @@ struct spu_private_t
/* */
mtime_t
i_last_sort_date
;
/* */
mtime_t
i_last_render_date
;
};
/* */
...
...
@@ -231,7 +229,6 @@ spu_t *__spu_Create( vlc_object_t *p_this )
/* */
p_sys
->
i_last_sort_date
=
-
1
;
p_sys
->
i_last_render_date
=
-
1
;
return
p_spu
;
}
...
...
@@ -398,18 +395,13 @@ void spu_RenderSubpictures( spu_t *p_spu,
if
(
!
b_paused
&&
p_subpic
->
pf_update_regions
)
{
mtime_t
i_render_date
;
video_format_t
fmt_org
=
*
p_fmt_dst
;
fmt_org
.
i_width
=
fmt_org
.
i_visible_width
=
i_source_video_width
;
fmt_org
.
i_height
=
fmt_org
.
i_visible_height
=
i_source_video_height
;
i_render_date
=
i_current_date
;
if
(
p_subpic
->
b_subtitle
&&
b_paused
&&
p_sys
->
i_last_render_date
>
0
)
i_render_date
=
p_sys
->
i_last_render_date
;
p_subpic
->
pf_update_regions
(
p_spu
,
p_subpic
,
&
fmt_org
,
i_render_date
);
p_subpic
->
pf_update_regions
(
p_spu
,
p_subpic
,
&
fmt_org
,
i_current_date
);
}
/* */
...
...
@@ -423,9 +415,6 @@ void spu_RenderSubpictures( spu_t *p_spu,
pp_subpicture
[
i_subpicture
++
]
=
p_subpic
;
}
if
(
!
b_paused
)
p_sys
->
i_last_render_date
=
i_current_date
;
/* Be sure we have at least 1 picture to process */
if
(
i_subpicture
<=
0
)
{
...
...
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