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
34a9e444
Commit
34a9e444
authored
Jun 04, 2013
by
Felix Paul Kühne
Browse files
Library View: fix reported file size, which was 50% too small
parent
b565defb
Changes
2
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCPlaylistGridView.m
View file @
34a9e444
...
...
@@ -75,7 +75,7 @@
-
(
void
)
_updatedDisplayedInformation
{
self
.
titleLabel
.
text
=
self
.
mediaObject
.
title
;
self
.
subtitleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ — %.2f MB"
,
[
VLCTime
timeWithNumber
:[
self
.
mediaObject
duration
]],
[
self
.
mediaObject
fileSizeInBytes
]
/
2
e6
];
self
.
subtitleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ — %.2f MB"
,
[
VLCTime
timeWithNumber
:[
self
.
mediaObject
duration
]],
[
self
.
mediaObject
fileSizeInBytes
]
/
1
e6
];
self
.
thumbnailView
.
image
=
self
.
mediaObject
.
computedThumbnail
;
self
.
progressView
.
progress
=
self
.
mediaObject
.
lastPosition
.
floatValue
;
...
...
AspenProject/VLCPlaylistTableViewCell.m
View file @
34a9e444
...
...
@@ -62,7 +62,7 @@
-
(
void
)
_updatedDisplayedInformation
{
self
.
titleLabel
.
text
=
self
.
mediaObject
.
title
;
self
.
subtitleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ — %.2f MB"
,
[
VLCTime
timeWithNumber
:[
self
.
mediaObject
duration
]],
[
self
.
mediaObject
fileSizeInBytes
]
/
2
e6
];
self
.
subtitleLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@ — %.2f MB"
,
[
VLCTime
timeWithNumber
:[
self
.
mediaObject
duration
]],
[
self
.
mediaObject
fileSizeInBytes
]
/
1
e6
];
self
.
thumbnailView
.
image
=
self
.
mediaObject
.
computedThumbnail
;
self
.
progressIndicator
.
progress
=
self
.
mediaObject
.
lastPosition
.
floatValue
;
...
...
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