Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2552b92a
Commit
2552b92a
authored
Dec 22, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed fullscreen toggle through the http interface and friends (fixes #5349)
parent
a3b6543b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+5
-1
modules/video_output/macosx.m
modules/video_output/macosx.m
+4
-2
No files found.
modules/gui/macosx/intf.m
View file @
2552b92a
...
@@ -166,7 +166,11 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args )
...
@@ -166,7 +166,11 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args )
[[
VLCMain
sharedInstance
]
setNativeVideoSize
:
NSMakeSize
(
i_width
,
i_height
)];
[[
VLCMain
sharedInstance
]
setNativeVideoSize
:
NSMakeSize
(
i_width
,
i_height
)];
}
}
else
if
(
i_query
==
VOUT_WINDOW_SET_FULLSCREEN
)
else
if
(
i_query
==
VOUT_WINDOW_SET_FULLSCREEN
)
msg_Dbg
(
p_wnd
,
"WindowControl:VOUT_WINDOW_SET_FULLSCREEN"
);
{
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
[[
VLCMain
sharedInstance
]
fullscreenChanged
];
[
o_pool
release
];
}
else
else
msg_Dbg
(
p_wnd
,
"WindowControl: unknown query"
);
msg_Dbg
(
p_wnd
,
"WindowControl: unknown query"
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
modules/video_output/macosx.m
View file @
2552b92a
...
@@ -311,8 +311,10 @@ static int Control (vout_display_t *vd, int query, va_list ap)
...
@@ -311,8 +311,10 @@ static int Control (vout_display_t *vd, int query, va_list ap)
{
{
case
VOUT_DISPLAY_CHANGE_FULLSCREEN
:
case
VOUT_DISPLAY_CHANGE_FULLSCREEN
:
{
{
/* todo */
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
return
VLC_EGENERIC
;
[[
sys
->
glView
window
]
performSelectorOnMainThread
:
@selector
(
fullscreen
:)
withObject
:
nil
waitUntilDone
:
NO
];
[
o_pool
release
];
return
VLC_SUCCESS
;
}
}
case
VOUT_DISPLAY_CHANGE_WINDOW_STATE
:
case
VOUT_DISPLAY_CHANGE_WINDOW_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