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
28fd4de9
Commit
28fd4de9
authored
Jun 26, 2009
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Don't try to guess a name anymore. This is now done in the core.
parent
1ca44225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+1
-3
No files found.
modules/gui/macosx/playlist.m
View file @
28fd4de9
...
@@ -1157,8 +1157,6 @@
...
@@ -1157,8 +1157,6 @@
}
}
}
}
}
}
/* If no name, then make a guess */
if
(
!
o_name
)
o_name
=
[[
NSFileManager
defaultManager
]
displayNameAtPath
:
o_uri
];
if
(
[[
NSFileManager
defaultManager
]
fileExistsAtPath
:
o_uri
isDirectory
:
&
b_dir
]
&&
b_dir
&&
if
(
[[
NSFileManager
defaultManager
]
fileExistsAtPath
:
o_uri
isDirectory
:
&
b_dir
]
&&
b_dir
&&
[[
NSWorkspace
sharedWorkspace
]
getFileSystemInfoForPath
:
o_uri
isRemovable
:
&
b_rem
[[
NSWorkspace
sharedWorkspace
]
getFileSystemInfoForPath
:
o_uri
isRemovable
:
&
b_rem
...
@@ -1180,7 +1178,7 @@
...
@@ -1180,7 +1178,7 @@
o_uri
=
o_temp
;
o_uri
=
o_temp
;
}
}
p_input
=
input_item_New
(
p_playlist
,
[
o_uri
fileSystemRepresentation
],
[
o_name
UTF8String
]
);
p_input
=
input_item_New
(
p_playlist
,
[
o_uri
fileSystemRepresentation
],
o_name
?
[
o_name
UTF8String
]
:
NULL
);
if
(
!
p_input
)
if
(
!
p_input
)
{
{
pl_Release
(
p_intf
);
pl_Release
(
p_intf
);
...
...
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