Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
56ae99e8
Commit
56ae99e8
authored
Oct 26, 2013
by
Felix Paul Kühne
Browse files
playback: fix minor UI glitch
parent
f11f96b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCMovieViewController.m
View file @
56ae99e8
...
...
@@ -315,6 +315,7 @@
_mediaPlayer
=
[[
VLCMediaPlayer
alloc
]
initWithOptions
:@[[
NSString
stringWithFormat
:
@"--%@=%@"
,
kVLCSettingSubtitlesFont
,
[
defaults
objectForKey
:
kVLCSettingSubtitlesFont
]],
[
NSString
stringWithFormat
:
@"--%@=%@"
,
kVLCSettingSubtitlesFontColor
,
[
defaults
objectForKey
:
kVLCSettingSubtitlesFontColor
]],
[
NSString
stringWithFormat
:
@"--%@=%@"
,
kVLCSettingSubtitlesFontSize
,
[
defaults
objectForKey
:
kVLCSettingSubtitlesFontSize
]],
[
NSString
stringWithFormat
:
@"--%@=%@"
,
kVLCSettingDeinterlace
,
[
defaults
objectForKey
:
kVLCSettingDeinterlace
]]]];
[
_mediaPlayer
setDelegate
:
self
];
[
_mediaPlayer
setDrawable
:
self
.
movieView
];
self
.
trackNameLabel
.
text
=
self
.
artistNameLabel
.
text
=
self
.
albumNameLabel
.
text
=
@""
;
VLCMedia
*
media
;
if
(
self
.
mediaItem
)
{
...
...
@@ -327,8 +328,7 @@
self
.
trackNameLabel
.
text
=
item
.
albumTrack
.
title
;
self
.
artistNameLabel
.
text
=
item
.
albumTrack
.
artist
;
self
.
albumNameLabel
.
text
=
item
.
albumTrack
.
album
.
name
;
}
else
self
.
trackNameLabel
.
text
=
self
.
artistNameLabel
.
text
=
self
.
albumNameLabel
.
text
=
@""
;
}
}
else
{
media
=
[
VLCMedia
mediaWithURL
:
self
.
url
];
self
.
title
=
@"Network Stream"
;
...
...
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