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
be40ef55
Commit
be40ef55
authored
Mar 04, 2012
by
David Fuhrmann
Committed by
Felix Paul Kühne
Mar 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix white fullscreen when video ended(close #6288)
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
baf9dedd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
modules/gui/macosx/MainWindow.h
modules/gui/macosx/MainWindow.h
+1
-0
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+5
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-1
No files found.
modules/gui/macosx/MainWindow.h
View file @
be40ef55
...
@@ -158,6 +158,7 @@
...
@@ -158,6 +158,7 @@
-
(
void
)
drawFancyGradientEffectForTimeSlider
;
-
(
void
)
drawFancyGradientEffectForTimeSlider
;
-
(
id
)
videoView
;
-
(
id
)
videoView
;
-
(
id
)
setupVideoView
;
-
(
void
)
setVideoplayEnabled
;
-
(
void
)
setVideoplayEnabled
;
-
(
void
)
resizeWindow
;
-
(
void
)
resizeWindow
;
-
(
void
)
setNativeVideoSize
:(
NSSize
)
size
;
-
(
void
)
setNativeVideoSize
:(
NSSize
)
size
;
...
...
modules/gui/macosx/MainWindow.m
View file @
be40ef55
...
@@ -1273,8 +1273,12 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -1273,8 +1273,12 @@ static VLCMainWindow *_o_sharedInstance = nil;
#pragma mark -
#pragma mark -
#pragma mark Video Output handling
#pragma mark Video Output handling
-
(
id
)
videoView
-
(
id
)
videoView
{
return
o_video_view
;
}
-
(
id
)
setupVideoView
{
{
vout_thread_t
*
p_vout
=
getVout
();
vout_thread_t
*
p_vout
=
getVout
();
if
(
config_GetInt
(
VLCIntf
,
"embedded-video"
))
if
(
config_GetInt
(
VLCIntf
,
"embedded-video"
))
...
...
modules/gui/macosx/intf.m
View file @
be40ef55
...
@@ -1642,7 +1642,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
...
@@ -1642,7 +1642,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
-
(
id
)
getVideoViewAtPositionX
:
(
int
*
)
pi_x
Y
:
(
int
*
)
pi_y
withWidth
:
(
unsigned
int
*
)
pi_width
andHeight
:
(
unsigned
int
*
)
pi_height
-
(
id
)
getVideoViewAtPositionX
:
(
int
*
)
pi_x
Y
:
(
int
*
)
pi_y
withWidth
:
(
unsigned
int
*
)
pi_width
andHeight
:
(
unsigned
int
*
)
pi_height
{
{
id
videoView
=
[
o_mainwindow
v
ideoView
];
id
videoView
=
[
o_mainwindow
setupV
ideoView
];
NSRect
videoRect
=
[
videoView
frame
];
NSRect
videoRect
=
[
videoView
frame
];
int
i_x
=
(
int
)
videoRect
.
origin
.
x
;
int
i_x
=
(
int
)
videoRect
.
origin
.
x
;
int
i_y
=
(
int
)
videoRect
.
origin
.
y
;
int
i_y
=
(
int
)
videoRect
.
origin
.
y
;
...
...
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