Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
5dd428a1
Commit
5dd428a1
authored
Mar 31, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation fix for devices
parent
ae52ba83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
AspenProject/VLCAppDelegate.m
AspenProject/VLCAppDelegate.m
+2
-2
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+6
-2
No files found.
AspenProject/VLCAppDelegate.m
View file @
5dd428a1
...
...
@@ -82,8 +82,8 @@
#if LOCAL_PLAYBACK_HACK && TARGET_IPHONE_SIMULATOR
NSString
*
directoryPath
=
@"/Users/fkuehne/Desktop/VideoLAN docs/Clips/sel/"
;
#else
NSArray
*
searchPaths
=
NSSearchPathForDirectoriesInDomains
(
NS
UserDomainMask
,
NSDocumentDirectory
,
YES
);
NSString
*
directoryPath
=
[
p
aths
objectAtIndex
:
0
];
NSArray
*
searchPaths
=
NSSearchPathForDirectoriesInDomains
(
NS
DocumentDirectory
,
NSUserDomainMask
,
YES
);
NSString
*
directoryPath
=
[
searchP
aths
objectAtIndex
:
0
];
#endif
NSArray
*
foundFiles
=
[[
NSFileManager
defaultManager
]
contentsOfDirectoryAtPath
:
directoryPath
error
:
nil
];
NSMutableArray
*
filePaths
=
[
NSMutableArray
arrayWithCapacity
:[
foundFiles
count
]];
...
...
AspenProject/VLCMovieViewController.m
View file @
5dd428a1
...
...
@@ -31,9 +31,8 @@
_mediaItem
=
[
newMediaItem
retain
];
}
if
(
self
.
masterPopoverController
!=
nil
)
{
if
(
self
.
masterPopoverController
!=
nil
)
[
self
.
masterPopoverController
dismissPopoverAnimated
:
YES
];
}
}
-
(
void
)
viewDidLoad
...
...
@@ -103,6 +102,11 @@
self
.
timeDisplay
.
title
=
[[
_mediaPlayer
remainingTime
]
stringValue
];
}
-
(
void
)
mediaPlayerStateChanged
:(
NSNotification
*
)
aNotification
{
// TODO
}
-
(
IBAction
)
play
:(
id
)
sender
{
if
([
_mediaPlayer
isPlaying
])
{
...
...
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