Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
bddfdc98
Commit
bddfdc98
authored
May 17, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bail-out on playback error
parent
7479a904
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+7
-1
Resources/de.lproj/Localizable.strings
Resources/de.lproj/Localizable.strings
+0
-0
Resources/en.lproj/Localizable.strings
Resources/en.lproj/Localizable.strings
+0
-0
Resources/fr.lproj/Localizable.strings
Resources/fr.lproj/Localizable.strings
+0
-0
No files found.
AspenProject/VLCMovieViewController.m
View file @
bddfdc98
...
...
@@ -297,7 +297,13 @@
-
(
void
)
mediaPlayerStateChanged
:(
NSNotification
*
)
aNotification
{
// TODO
VLCMediaPlayerState
currentState
=
_mediaPlayer
.
state
;
if
(
currentState
==
VLCMediaPlayerStateError
)
{
[
self
.
statusLabel
showStatusMessage
:
NSLocalizedString
(
@"PLAYBACK_FAILED"
,
@""
)];
[
self
performSelector
:
@selector
(
dismiss
:)
withObject
:
nil
afterDelay
:
2
.];
}
UIImage
*
playPauseImage
=
[
_mediaPlayer
isPlaying
]?
[
UIImage
imageNamed
:
@"pause"
]
:
[
UIImage
imageNamed
:
@"play"
];
[
_playPauseButton
setImage
:
playPauseImage
forState
:
UIControlStateNormal
];
}
...
...
Resources/de.lproj/Localizable.strings
View file @
bddfdc98
B
"CHOOSE_AUDIO_TRACK"="Audiospur wählen";
...
...
Resources/en.lproj/Localizable.strings
View file @
bddfdc98
B
"CHOOSE_AUDIO_TRACK"="Choose Audio Track";
...
...
Resources/fr.lproj/Localizable.strings
View file @
bddfdc98
B
"CHOOSE_AUDIO_TRACK"="Choisir Piste Audio";
...
...
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