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
46b2dec0
Commit
46b2dec0
authored
Apr 18, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos.
parent
62ffd1a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
plugins/macosx/vout_macosx.c
plugins/macosx/vout_macosx.c
+10
-12
No files found.
plugins/macosx/vout_macosx.c
View file @
46b2dec0
...
...
@@ -518,33 +518,33 @@ static void QTScaleMatrix( vout_thread_t *p_vout )
GetPortBounds
(
p_vout
->
p_sys
->
p_qdport
,
&
s_rect
);
if
(
(
s_rect
.
bottom
-
s_rect
.
top
)
*
p_vout
->
render
.
i_aspect
if
(
(
s_rect
.
bottom
-
s_rect
.
top
)
*
p_vout
->
output
.
i_aspect
<
(
s_rect
.
right
-
s_rect
.
left
)
*
VOUT_ASPECT_FACTOR
)
{
factor_x
=
FixDiv
(
Long2Fix
(
(
s_rect
.
bottom
-
s_rect
.
top
)
*
p_vout
->
render
.
i_aspect
/
VOUT_ASPECT_FACTOR
),
Long2Fix
(
p_vout
->
render
.
i_width
)
);
*
p_vout
->
output
.
i_aspect
/
VOUT_ASPECT_FACTOR
),
Long2Fix
(
p_vout
->
output
.
i_width
)
);
factor_y
=
FixDiv
(
Long2Fix
(
s_rect
.
bottom
-
s_rect
.
top
),
Long2Fix
(
p_vout
->
render
.
i_height
)
);
Long2Fix
(
p_vout
->
output
.
i_height
)
);
#if 0
p_vout->p_sys->display_rect.top = 0;
p_vout->p_sys->display_rect.bottom = s_rect.bottom - s_rect.top;
p_vout->p_sys->display_rect.left = 12;
p_vout->p_sys->display_rect.right = 12 + (s_rect.bottom - s_rect.top)
* p_vout->
render
.i_aspect / VOUT_ASPECT_FACTOR;
* p_vout->
output
.i_aspect / VOUT_ASPECT_FACTOR;
#endif
}
else
{
factor_x
=
FixDiv
(
Long2Fix
(
s_rect
.
right
-
s_rect
.
left
),
Long2Fix
(
p_vout
->
render
.
i_width
)
);
Long2Fix
(
p_vout
->
output
.
i_width
)
);
factor_y
=
FixDiv
(
Long2Fix
(
(
s_rect
.
right
-
s_rect
.
left
)
*
VOUT_ASPECT_FACTOR
/
p_vout
->
render
.
i_aspect
),
Long2Fix
(
p_vout
->
render
.
i_height
)
);
*
VOUT_ASPECT_FACTOR
/
p_vout
->
output
.
i_aspect
),
Long2Fix
(
p_vout
->
output
.
i_height
)
);
#if 0
p_vout->p_sys->display_rect.top = 12;
p_vout->p_sys->display_rect.bottom = 12 + (s_rect.right - s_rect.left)
* VOUT_ASPECT_FACTOR / p_vout->
render
.i_aspect;
* VOUT_ASPECT_FACTOR / p_vout->
output
.i_aspect;
p_vout->p_sys->display_rect.left = 0;
p_vout->p_sys->display_rect.right = s_rect.right - s_rect.left;
#endif
...
...
@@ -581,9 +581,7 @@ static int QTCreateSequence( vout_thread_t *p_vout )
p_descr
->
spatialQuality
=
codecLosslessQuality
;
p_descr
->
frameCount
=
1
;
p_descr
->
clutID
=
-
1
;
p_descr
->
dataSize
=
p_vout
->
output
.
i_width
*
p_vout
->
output
.
i_height
*
3
/
2
;
p_descr
->
dataSize
=
0
;
p_descr
->
depth
=
12
;
HUnlock
(
(
Handle
)
p_vout
->
p_sys
->
h_img_descr
);
...
...
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