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
f08cca38
Commit
f08cca38
authored
Feb 21, 2005
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wall.c: create properly sized (multiple of two each way) windows. set
correct output resolution on the created windows
parent
23fcdfe0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/video_filter/wall.c
modules/video_filter/wall.c
+3
-3
No files found.
modules/video_filter/wall.c
View file @
f08cca38
...
...
@@ -247,9 +247,11 @@ static int Init( vout_thread_t *p_vout )
w1
=
p_vout
->
output
.
i_width
/
p_vout
->
p_sys
->
i_col
;
h1
=
w1
*
VOUT_ASPECT_FACTOR
/
i_aspect
;
w1
&=
~
1
;
h1
&=
~
1
;
h2
=
p_vout
->
output
.
i_height
/
p_vout
->
p_sys
->
i_row
;
w2
=
h2
*
i_aspect
/
VOUT_ASPECT_FACTOR
;
w2
&=
~
1
;
h2
&=
~
1
;
if
(
h1
*
p_vout
->
p_sys
->
i_row
<
p_vout
->
output
.
i_height
)
{
...
...
@@ -347,9 +349,7 @@ static int Init( vout_thread_t *p_vout )
p_vout
->
p_sys
->
pp_vout
[
p_vout
->
p_sys
->
i_vout
].
p_vout
=
vout_Create
(
p_vout
,
i_width
,
i_height
,
p_vout
->
render
.
i_chroma
,
p_vout
->
render
.
i_aspect
*
p_vout
->
render
.
i_height
/
i_height
*
i_width
/
p_vout
->
render
.
i_width
);
VOUT_ASPECT_FACTOR
*
i_width
/
i_height
);
if
(
p_vout
->
p_sys
->
pp_vout
[
p_vout
->
p_sys
->
i_vout
].
p_vout
==
NULL
)
{
msg_Err
(
p_vout
,
"failed to get %ix%i vout threads"
,
...
...
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