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
f31cfbac
Commit
f31cfbac
authored
Jul 13, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Don't use playlist_NodeAddInput() it's deprecated. Fix #1705.
parent
2335fa6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+9
-10
No files found.
modules/gui/macosx/playlist.m
View file @
f31cfbac
...
...
@@ -1038,17 +1038,16 @@
/* Get the item */
o_one_item
=
[
o_array
objectAtIndex
:
i_item
];
p_input
=
[
self
createItem
:
o_one_item
];
if
(
!
p_input
)
{
continue
;
}
if
(
!
p_input
)
continue
;
/* Add the item */
/* FIXME: playlist_
Node
AddInput() can fail */
playlist_
Node
AddInput
(
p_playlist
,
p_input
,
p_node
,
/* FIXME: playlist_
Both
AddInput() can fail */
playlist_
Both
AddInput
(
p_playlist
,
p_input
,
p_node
,
PLAYLIST_INSERT
,
i_position
==
-
1
?
PLAYLIST_END
:
i_position
+
i_item
,
false
);
PLAYLIST_END
:
i_position
+
i_item
,
NULL
,
NULL
,
false
);
if
(
i_item
==
0
&&
!
b_enqueue
)
...
...
@@ -1615,13 +1614,13 @@
if
(
item
==
nil
)
{
[
self
appendArray
:
o_array
atPos
:
index
enqueue
:
YES
];
[
self
appendArray
:
o_array
atPos
:
index
enqueue
:
YES
];
}
else
{
assert
(
p_node
->
i_children
!=
-
1
);
[
self
appendNodeArray
:
o_array
inNode
:
p_node
atPos:
index
enqueue
:
YES
];
[
self
appendNodeArray
:
o_array
inNode
:
p_node
atPos:
index
enqueue
:
YES
];
}
vlc_object_release
(
p_playlist
);
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