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
b9dc8922
Commit
b9dc8922
authored
Sep 28, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove old and dead code from VideoView.m
parent
2f66c696
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
modules/gui/macosx/VideoView.m
modules/gui/macosx/VideoView.m
+0
-27
No files found.
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
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