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
8d1fa3f4
Commit
8d1fa3f4
authored
Jan 02, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movie view: fix media item playback after media list
parent
44cd3745
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Sources/VLCMovieViewController.h
Sources/VLCMovieViewController.h
+1
-0
Sources/VLCMovieViewController.m
Sources/VLCMovieViewController.m
+6
-1
No files found.
Sources/VLCMovieViewController.h
View file @
8d1fa3f4
...
...
@@ -76,6 +76,7 @@
@property
(
nonatomic
,
strong
)
MLFile
*
mediaItem
;
@property
(
nonatomic
,
strong
)
NSURL
*
url
;
@property
(
nonatomic
,
retain
)
VLCMediaList
*
mediaList
;
@property
(
nonatomic
,
retain
)
NSArray
*
filesForMediaList
;
@property
(
nonatomic
,
readwrite
)
NSUInteger
itemInMediaListToBePlayedFirst
;
-
(
IBAction
)
closePlayback
:(
id
)
sender
;
...
...
Sources/VLCMovieViewController.m
View file @
8d1fa3f4
...
...
@@ -385,10 +385,11 @@
self
.
artistNameLabel
.
text
=
item
.
albumTrack
.
artist
;
self
.
albumNameLabel
.
text
=
item
.
albumTrack
.
album
.
name
;
}
else
self
.
trackNameLabel
.
text
=
self
.
artistNameLabel
.
text
=
self
.
albumNameLabel
.
text
=
@""
;
self
.
artistNameLabel
.
text
=
self
.
albumNameLabel
.
text
=
@""
;
}
}
else
if
(
!
self
.
mediaList
)
media
=
[
VLCMedia
mediaWithURL
:
self
.
url
];
self
.
trackNameLabel
.
text
=
[[
media
url
]
lastPathComponent
];
NSMutableDictionary
*
mediaDictionary
=
[[
NSMutableDictionary
alloc
]
init
];
...
...
@@ -584,6 +585,10 @@
}
if
(
_mediaItem
)
_mediaItem
=
nil
;
if
(
_mediaList
)
_mediaList
=
nil
;
if
(
_url
)
_url
=
nil
;
_playerIsSetup
=
NO
;
}
...
...
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