Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e96eb744
Commit
e96eb744
authored
Jan 25, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scaling of subpicture in fb video_output.
parent
c28d3216
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_output/fb.c
modules/video_output/fb.c
+4
-2
No files found.
modules/video_output/fb.c
View file @
e96eb744
...
@@ -483,6 +483,7 @@ static int Init( vout_thread_t *p_vout )
...
@@ -483,6 +483,7 @@ static int Init( vout_thread_t *p_vout )
I_OUTPUTPICTURES
=
0
;
I_OUTPUTPICTURES
=
0
;
p_vout
->
fmt_out
=
p_vout
->
fmt_in
;
if
(
p_sys
->
i_chroma
==
0
)
if
(
p_sys
->
i_chroma
==
0
)
{
{
/* Initialize the output structure: RGB with square pixels, whatever
/* Initialize the output structure: RGB with square pixels, whatever
...
@@ -526,8 +527,8 @@ static int Init( vout_thread_t *p_vout )
...
@@ -526,8 +527,8 @@ static int Init( vout_thread_t *p_vout )
p_vout
->
render
.
i_width
=
p_sys
->
i_width
;
p_vout
->
render
.
i_width
=
p_sys
->
i_width
;
p_vout
->
render
.
i_height
=
p_sys
->
i_height
;
p_vout
->
render
.
i_height
=
p_sys
->
i_height
;
}
}
p_vout
->
output
.
i_width
=
p_sys
->
i_width
;
p_vout
->
output
.
i_width
=
p_
vout
->
fmt_out
.
i_width
=
p_
sys
->
i_width
;
p_vout
->
output
.
i_height
=
p_sys
->
i_height
;
p_vout
->
output
.
i_height
=
p_
vout
->
fmt_out
.
i_height
=
p_
sys
->
i_height
;
/* Assume we have square pixels */
/* Assume we have square pixels */
if
(
p_sys
->
i_aspect
<
0
)
if
(
p_sys
->
i_aspect
<
0
)
...
@@ -539,6 +540,7 @@ static int Init( vout_thread_t *p_vout )
...
@@ -539,6 +540,7 @@ static int Init( vout_thread_t *p_vout )
p_vout
->
fmt_out
.
i_sar_num
=
p_vout
->
fmt_out
.
i_sar_den
=
1
;
p_vout
->
fmt_out
.
i_sar_num
=
p_vout
->
fmt_out
.
i_sar_den
=
1
;
p_vout
->
fmt_out
.
i_aspect
=
p_vout
->
render
.
i_aspect
=
p_vout
->
output
.
i_aspect
;
p_vout
->
fmt_out
.
i_aspect
=
p_vout
->
render
.
i_aspect
=
p_vout
->
output
.
i_aspect
;
p_vout
->
fmt_out
.
i_x_offset
=
p_vout
->
fmt_out
.
i_y_offset
=
0
;
/* Clear the screen */
/* Clear the screen */
memset
(
p_sys
->
p_video
,
0
,
p_sys
->
i_page_size
);
memset
(
p_sys
->
p_video
,
0
,
p_sys
->
i_page_size
);
...
...
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