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
994e4896
Commit
994e4896
authored
Mar 09, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Mar 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32 Vout: if a crop/aspect ratio is received, force the texture update
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
853861ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+3
-4
No files found.
modules/video_output/msw/common.c
View file @
994e4896
...
...
@@ -618,17 +618,16 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
case
VOUT_DISPLAY_CHANGE_SOURCE_ASPECT
:
/* const video_format_t *p_source */
case
VOUT_DISPLAY_CHANGE_SOURCE_CROP
:
{
/* const video_format_t *p_source */
const
vout_display_cfg_t
*
cfg
;
const
video_format_t
*
source
;
if
(
query
==
VOUT_DISPLAY_CHANGE_SOURCE_CROP
||
query
==
VOUT_DISPLAY_CHANGE_SOURCE_ASPECT
)
{
const
video_format_t
*
source
=
va_arg
(
args
,
const
video_format_t
*
);
cfg
=
vd
->
cfg
;
source
=
va_arg
(
args
,
const
video_format_t
*
);
UpdateRects
(
vd
,
cfg
,
source
,
true
);
}
else
{
cfg
=
va_arg
(
args
,
const
vout_display_cfg_t
*
);
source
=
&
vd
->
source
;
UpdateRects
(
vd
,
cfg
,
NULL
,
false
)
;
}
UpdateRects
(
vd
,
cfg
,
source
,
false
);
return
VLC_SUCCESS
;
}
case
VOUT_DISPLAY_CHANGE_WINDOW_STATE
:
{
/* unsigned state */
...
...
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