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
c5132d35
Commit
c5132d35
authored
Jun 15, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Get rid of vlc_object_find(playlist).
parent
ee1ba2fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
modules/gui/macosx/equalizer.m
modules/gui/macosx/equalizer.m
+8
-16
No files found.
modules/gui/macosx/equalizer.m
View file @
c5132d35
...
@@ -53,8 +53,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
...
@@ -53,8 +53,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_object
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_object
;
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
;
return
;
...
@@ -127,8 +126,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -127,8 +126,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
false
;
return
false
;
...
@@ -186,8 +184,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -186,8 +184,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
;
return
;
...
@@ -249,8 +246,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -249,8 +246,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
;
return
;
...
@@ -292,8 +288,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -292,8 +288,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
;
return
;
...
@@ -338,8 +333,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -338,8 +333,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
vlc_object_t
*
p_object
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
;
return
;
...
@@ -379,8 +373,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -379,8 +373,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_object
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_object
;
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
p_intf
,
p_object
=
pl_Yield
(
p_intf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
return
;
return
;
...
@@ -417,8 +410,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
...
@@ -417,8 +410,7 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
vlc_object_t
*
p_object
=
vlc_object_find
(
VLCIntf
,
vlc_object_t
*
p_object
=
vlc_object_find
(
VLCIntf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_object
==
NULL
)
if
(
p_object
==
NULL
)
p_object
=
vlc_object_find
(
VLCIntf
,
p_object
=
pl_Yield
(
VLCIntf
);
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
[
o_window
setExcludedFromWindowsMenu
:
TRUE
];
[
o_window
setExcludedFromWindowsMenu
:
TRUE
];
...
...
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