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
01b16b83
Commit
01b16b83
authored
Nov 09, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* don't mix old and new pl API
parent
b9c4dee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+3
-7
No files found.
modules/gui/macosx/playlist.m
View file @
01b16b83
...
@@ -257,13 +257,13 @@ NSLog( @"expandable" );
...
@@ -257,13 +257,13 @@ NSLog( @"expandable" );
if
(
[[
o_tc
identifier
]
isEqualToString
:
@"1"
]
)
if
(
[[
o_tc
identifier
]
isEqualToString
:
@"1"
]
)
{
{
/* sanity check to prevent the NSString class from crashing */
/* sanity check to prevent the NSString class from crashing */
if
(
p_item
->
input
.
psz_name
!=
NULL
)
if
(
p_item
->
p_input
->
psz_name
!=
NULL
)
{
{
o_value
=
[
NSString
stringWithUTF8String
:
o_value
=
[
NSString
stringWithUTF8String
:
p_item
->
input
.
psz_name
];
p_item
->
p_input
->
psz_name
];
if
(
o_value
==
NULL
)
if
(
o_value
==
NULL
)
o_value
=
[
NSString
stringWithCString
:
o_value
=
[
NSString
stringWithCString
:
p_item
->
input
.
psz_name
];
p_item
->
p_input
->
psz_name
];
}
}
}
}
else
if
(
[[
o_tc
identifier
]
isEqualToString
:
@"2"
]
&&
p_item
->
p_input
->
p_meta
&&
else
if
(
[[
o_tc
identifier
]
isEqualToString
:
@"2"
]
&&
p_item
->
p_input
->
p_meta
&&
...
@@ -477,13 +477,9 @@ NSLog( @"expandable" );
...
@@ -477,13 +477,9 @@ NSLog( @"expandable" );
else
else
{
{
if
(
playlist_IsEmpty
(
p_playlist
)
)
if
(
playlist_IsEmpty
(
p_playlist
)
)
{
[
o_status_field
setStringValue
:
_NS
(
"No items in the playlist"
)];
[
o_status_field
setStringValue
:
_NS
(
"No items in the playlist"
)];
}
else
else
{
[
o_status_field
setStringValue
:
_NS
(
"1 item in the playlist"
)];
[
o_status_field
setStringValue
:
_NS
(
"1 item in the playlist"
)];
}
}
}
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
}
...
...
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