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
070c5b31
Commit
070c5b31
authored
Jun 02, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redraw vout subpicture only when needed.
parent
8f93cd2d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
src/video_output/video_epg.c
src/video_output/video_epg.c
+4
-3
src/video_output/video_text.c
src/video_output/video_text.c
+4
-3
src/video_output/video_widgets.c
src/video_output/video_widgets.c
+5
-4
No files found.
src/video_output/video_epg.c
View file @
070c5b31
...
...
@@ -215,10 +215,11 @@ static int OSDEpgValidate(subpicture_t *subpic,
bool
has_dst_changed
,
const
video_format_t
*
fmt_dst
,
mtime_t
ts
)
{
VLC_UNUSED
(
subpic
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_src
);
VLC_UNUSED
(
has_dst_changed
);
VLC_UNUSED
(
fmt_dst
);
VLC_UNUSED
(
subpic
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_src
);
VLC_UNUSED
(
has_src_changed
);
VLC_UNUSED
(
fmt_dst
);
if
(
!
has_
src_changed
&&
!
has_
dst_changed
)
if
(
!
has_dst_changed
)
return
VLC_SUCCESS
;
return
VLC_EGENERIC
;
}
...
...
src/video_output/video_text.c
View file @
070c5b31
...
...
@@ -41,10 +41,11 @@ static int OSDTextValidate(subpicture_t *subpic,
bool
has_dst_changed
,
const
video_format_t
*
fmt_dst
,
mtime_t
ts
)
{
VLC_UNUSED
(
subpic
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_src
);
VLC_UNUSED
(
has_dst_changed
);
VLC_UNUSED
(
fmt_dst
);
VLC_UNUSED
(
subpic
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_src
);
VLC_UNUSED
(
has_src_changed
);
VLC_UNUSED
(
fmt_dst
);
if
(
!
has_
src_changed
&&
!
has_dst_changed
)
if
(
!
has_
dst_changed
)
return
VLC_SUCCESS
;
return
VLC_EGENERIC
;
}
...
...
src/video_output/video_widgets.c
View file @
070c5b31
...
...
@@ -251,10 +251,11 @@ static int OSDWidgetValidate(subpicture_t *subpic,
bool
has_dst_changed
,
const
video_format_t
*
fmt_dst
,
mtime_t
ts
)
{
VLC_UNUSED
(
subpic
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_src
);
VLC_UNUSED
(
has_dst_changed
);
VLC_UNUSED
(
fmt_dst
);
VLC_UNUSED
(
subpic
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_src
);
VLC_UNUSED
(
has_src_changed
);
VLC_UNUSED
(
fmt_dst
);
if
(
!
has_
src_changed
&&
!
has_
dst_changed
)
if
(
!
has_dst_changed
)
return
VLC_SUCCESS
;
return
VLC_EGENERIC
;
}
...
...
@@ -265,7 +266,7 @@ static void OSDWidgetUpdate(subpicture_t *subpic,
mtime_t
ts
)
{
subpicture_updater_sys_t
*
sys
=
subpic
->
updater
.
p_sys
;
VLC_UNUSED
(
fmt_
dst
);
VLC_UNUSED
(
ts
);
VLC_UNUSED
(
fmt_
src
);
VLC_UNUSED
(
ts
);
video_format_t
fmt
=
*
fmt_dst
;
fmt
.
i_width
=
fmt
.
i_width
*
fmt
.
i_sar_num
/
fmt
.
i_sar_den
;
...
...
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