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
db4566e1
Commit
db4566e1
authored
Nov 19, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: replaced a few NSLog which sneaked in this summer
parent
67de52f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+4
-6
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/prefs_widgets.m
+1
-1
No files found.
modules/gui/macosx/intf.m
View file @
db4566e1
...
@@ -154,18 +154,17 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args )
...
@@ -154,18 +154,17 @@ static int WindowControl( vout_window_t *p_wnd, int i_query, va_list args )
{
{
/* TODO */
/* TODO */
if
(
i_query
==
VOUT_WINDOW_SET_STATE
)
if
(
i_query
==
VOUT_WINDOW_SET_STATE
)
NSLog
(
@
"WindowControl:VOUT_WINDOW_SET_STATE"
);
msg_Dbg
(
p_wnd
,
"WindowControl:VOUT_WINDOW_SET_STATE"
);
else
if
(
i_query
==
VOUT_WINDOW_SET_SIZE
)
else
if
(
i_query
==
VOUT_WINDOW_SET_SIZE
)
{
{
NSLog
(
@"WindowControl:VOUT_WINDOW_SET_SIZE"
);
unsigned
int
i_width
=
va_arg
(
args
,
unsigned
int
);
unsigned
int
i_width
=
va_arg
(
args
,
unsigned
int
);
unsigned
int
i_height
=
va_arg
(
args
,
unsigned
int
);
unsigned
int
i_height
=
va_arg
(
args
,
unsigned
int
);
[[
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
)
NSLog
(
@
"WindowControl:VOUT_WINDOW_SET_FULLSCREEN"
);
msg_Dbg
(
p_wnd
,
"WindowControl:VOUT_WINDOW_SET_FULLSCREEN"
);
else
else
NSLog
(
@
"WindowControl: unknown query"
);
msg_Dbg
(
p_wnd
,
"WindowControl: unknown query"
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
@@ -173,8 +172,7 @@ void WindowClose( vout_window_t *p_wnd )
...
@@ -173,8 +172,7 @@ void WindowClose( vout_window_t *p_wnd )
{
{
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
[[
VLCMain
sharedInstance
]
setActiveVideoPlayback
:
NO
];
[[
VLCMain
sharedInstance
]
setActiveVideoPlayback
:
NO
];
NSLog
(
@"Window Close"
);
// tell the interface to get rid of the video, TODO
[
o_pool
release
];
[
o_pool
release
];
}
}
...
...
modules/gui/macosx/prefs_widgets.m
View file @
db4566e1
...
@@ -2332,7 +2332,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
...
@@ -2332,7 +2332,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
-
(
void
)
resetValues
-
(
void
)
resetValues
{
{
#warning Reset prefs of the module selector is broken atm.
#warning Reset prefs of the module selector is broken atm.
NSLog
(
@
"don't forget about modulelistconfig"
);
msg_Err
(
VLCIntf
,
"don't forget about modulelistconfig"
);
[
super
resetValues
];
[
super
resetValues
];
}
}
...
...
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