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
5a843a7f
Commit
5a843a7f
authored
Oct 21, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Updates due to the new playlist core
parent
718e1e05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+3
-3
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+2
-2
No files found.
modules/gui/macosx/playlist.m
View file @
5a843a7f
...
@@ -598,10 +598,10 @@ NSLog( @"expandable" );
...
@@ -598,10 +598,10 @@ NSLog( @"expandable" );
/* Since outlineView: willDisplayCell:... may call this function with
/* Since outlineView: willDisplayCell:... may call this function with
p_items that don't exist anymore, first check if the item is still
p_items that don't exist anymore, first check if the item is still
in the playlist. Any cleaner solution welcomed. */
in the playlist. Any cleaner solution welcomed. */
for
(
i
=
0
;
i
<
p_playlist
->
i_all
_size
;
i
++
)
for
(
i
=
0
;
i
<
p_playlist
->
all_items
.
i
_size
;
i
++
)
{
{
if
(
p_playlist
->
pp_all_items
[
i
]
==
p_item
)
break
;
if
(
ARRAY_VAL
(
p_playlist
->
all_items
,
i
)
==
p_item
)
break
;
else
if
(
i
==
p_playlist
->
i_all
_size
-
1
)
else
if
(
i
==
p_playlist
->
all_items
.
i
_size
-
1
)
{
{
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
...
modules/gui/macosx/playlistinfo.m
View file @
5a843a7f
...
@@ -310,9 +310,9 @@
...
@@ -310,9 +310,9 @@
playlist_t
*
p_playlist
=
pl_Yield
(
p_intf
);
playlist_t
*
p_playlist
=
pl_Yield
(
p_intf
);
int
i
;
int
i
;
for
(
i
=
0
;
i
<
p_playlist
->
i_all
_size
;
i
++
)
for
(
i
=
0
;
i
<
p_playlist
->
all_items
.
i
_size
;
i
++
)
{
{
if
(
p_playlist
->
pp_all_items
[
i
]
==
p_local_item
)
if
(
ARRAY_VAL
(
p_playlist
->
all_items
,
i
)
==
p_local_item
)
{
{
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
return
YES
;
return
YES
;
...
...
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