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
ff219e59
Commit
ff219e59
authored
Apr 23, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_output/x11/xcommon.c,
modules/gui/wxwindows/video.cpp: fixed size for VOUT_SET_ZOOM.
parent
7e97a491
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+3
-3
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+3
-2
No files found.
modules/gui/wxwindows/video.cpp
View file @
ff219e59
...
...
@@ -2,7 +2,7 @@
* video.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2004, 2003 VideoLAN
* $Id
: interface.cpp 6961 2004-03-05 17:34:23Z sam
$
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
*
...
...
@@ -280,8 +280,8 @@ int VideoWindow::ControlWindow( void *p_window, int i_query, va_list args )
double
f_arg
=
va_arg
(
args
,
double
);
/* Update dimensions */
wxSizeEvent
event
(
wxSize
(
p_vout
->
render
.
i
_width
*
f_arg
,
p_vout
->
render
.
i
_height
*
f_arg
),
wxSizeEvent
event
(
wxSize
(
p_vout
->
i_window
_width
*
f_arg
,
p_vout
->
i_window
_height
*
f_arg
),
UpdateSize_Event
);
AddPendingEvent
(
event
);
...
...
modules/video_output/x11/xcommon.c
View file @
ff219e59
...
...
@@ -2145,10 +2145,11 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
vlc_mutex_lock
(
&
p_vout
->
p_sys
->
lock
);
/* Update dimensions */
/* FIXME: export InitWindowSize() from vout core */
XResizeWindow
(
p_vout
->
p_sys
->
p_display
,
p_vout
->
p_sys
->
p_win
->
base_window
,
p_vout
->
render
.
i
_width
*
f_arg
,
p_vout
->
render
.
i
_height
*
f_arg
);
p_vout
->
i_window
_width
*
f_arg
,
p_vout
->
i_window
_height
*
f_arg
);
vlc_mutex_unlock
(
&
p_vout
->
p_sys
->
lock
);
return
VLC_SUCCESS
;
...
...
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