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
42928cf8
Commit
42928cf8
authored
Oct 31, 2005
by
Marian Durkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make Crop or Aspect change autoamtically resize the window
parent
c5f75658
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
modules/video_output/directx/directx.c
modules/video_output/directx/directx.c
+1
-0
modules/video_output/directx/glwin32.c
modules/video_output/directx/glwin32.c
+1
-0
No files found.
modules/video_output/directx/directx.c
View file @
42928cf8
...
@@ -555,6 +555,7 @@ static int Manage( vout_thread_t *p_vout )
...
@@ -555,6 +555,7 @@ static int Manage( vout_thread_t *p_vout )
p_vout
->
fmt_out
.
i_sar_den
=
p_vout
->
fmt_in
.
i_sar_den
;
p_vout
->
fmt_out
.
i_sar_den
=
p_vout
->
fmt_in
.
i_sar_den
;
p_vout
->
output
.
i_aspect
=
p_vout
->
fmt_in
.
i_aspect
;
p_vout
->
output
.
i_aspect
=
p_vout
->
fmt_in
.
i_aspect
;
E_
(
DirectXUpdateRects
)(
p_vout
,
VLC_TRUE
);
E_
(
DirectXUpdateRects
)(
p_vout
,
VLC_TRUE
);
vout_Control
(
p_vout
,
VOUT_SET_ZOOM
);
}
}
/* We used to call the Win32 PeekMessage function here to read the window
/* We used to call the Win32 PeekMessage function here to read the window
...
...
modules/video_output/directx/glwin32.c
View file @
42928cf8
...
@@ -318,6 +318,7 @@ static int Manage( vout_thread_t *p_vout )
...
@@ -318,6 +318,7 @@ static int Manage( vout_thread_t *p_vout )
p_vout
->
fmt_out
.
i_sar_den
=
p_vout
->
fmt_in
.
i_sar_den
;
p_vout
->
fmt_out
.
i_sar_den
=
p_vout
->
fmt_in
.
i_sar_den
;
p_vout
->
output
.
i_aspect
=
p_vout
->
fmt_in
.
i_aspect
;
p_vout
->
output
.
i_aspect
=
p_vout
->
fmt_in
.
i_aspect
;
E_
(
DirectXUpdateRects
)(
p_vout
,
VLC_TRUE
);
E_
(
DirectXUpdateRects
)(
p_vout
,
VLC_TRUE
);
vout_Control
(
p_vout
,
VOUT_SET_ZOOM
);
}
}
/* We used to call the Win32 PeekMessage function here to read the window
/* We used to call the Win32 PeekMessage function here to read the window
...
...
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