Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b9dc8922
Commit
b9dc8922
authored
Sep 28, 2012
by
David Fuhrmann
Browse files
macosx: remove old and dead code from VideoView.m
parent
2f66c696
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/VideoView.m
View file @
b9dc8922
...
...
@@ -40,23 +40,6 @@
#import <vlc_common.h>
#import <vlc_keys.h>
/*****************************************************************************
* DeviceCallback: Callback triggered when the video-device variable is changed
*****************************************************************************/
int
DeviceCallback
(
vlc_object_t
*
p_this
,
const
char
*
psz_variable
,
vlc_value_t
old_val
,
vlc_value_t
new_val
,
void
*
param
)
{
vlc_value_t
val
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
msg_Dbg
(
p_vout
,
"set %"
PRId64
,
new_val
.
i_int
);
var_Create
(
p_vout
->
p_libvlc
,
"video-device"
,
VLC_VAR_INTEGER
);
var_Set
(
p_vout
->
p_libvlc
,
"video-device"
,
new_val
);
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"intf-change"
,
val
);
return
VLC_SUCCESS
;
}
/*****************************************************************************
* VLCVoutView implementation
...
...
@@ -109,16 +92,6 @@ int DeviceCallback(vlc_object_t *p_this, const char *psz_variable,
#pragma mark -
#pragma mark vout actions
-
(
void
)
closeVout
{
vout_thread_t
*
p_vout
=
getVout
();
if
(
p_vout
)
{
var_DelCallback
(
p_vout
,
"video-device"
,
DeviceCallback
,
NULL
);
vlc_object_release
(
p_vout
);
}
}
-
(
void
)
keyDown
:(
NSEvent
*
)
o_event
{
unichar
key
=
0
;
...
...
Write
Preview
Supports
Markdown
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