Skip to content
Snippets Groups Projects
Commit 6a2ffc2b authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

player: change play's return type from BOOL to void

It always returned YES anyway, which is admittedly useless
parent 6c21f90c
No related branches found
No related tags found
No related merge requests found
......@@ -515,9 +515,8 @@ extern NSString *const VLCTitleDescriptionIsMenu;
* Plays a media resource using the currently selected media controller (or
* default controller. If feed was paused then the feed resumes at the position
* it was paused in.
* \return A Boolean determining whether the stream was played or not.
*/
-(BOOL)play;
- (void)play;
/**
* Toggle's the pause state of the feed.
......
......@@ -15,6 +15,7 @@ New APIs:
- added selectors: chaptersForTitleIndex:
numberOfChaptersForTitle:
- added notifications: VLCMediaPlayerTitleChanged, VLCMediaPlayerChapterChanged
- Note: play's return type was changed from BOOL to void
- VLCMedia
- added keys: VLCMetaInformationTrackTotal, VLCMetaInformationDirector,
......
......@@ -1053,10 +1053,9 @@ static void HandleMediaPlayerSnapshot(const libvlc_event_t * event, void * self)
#pragma mark -
#pragma mark playback
- (BOOL)play
- (void)play
{
libvlc_media_player_play(_playerInstance);
return YES;
}
- (void)pause
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment