Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLCKit
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Paul Kühne
VLCKit
Commits
6a2ffc2b
Commit
6a2ffc2b
authored
9 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
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
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Headers/Public/VLCMediaPlayer.h
+1
-2
1 addition, 2 deletions
Headers/Public/VLCMediaPlayer.h
NEWS
+1
-0
1 addition, 0 deletions
NEWS
Sources/VLCMediaPlayer.m
+1
-2
1 addition, 2 deletions
Sources/VLCMediaPlayer.m
with
3 additions
and
4 deletions
Headers/Public/VLCMediaPlayer.h
+
1
−
2
View file @
6a2ffc2b
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
NEWS
+
1
−
0
View file @
6a2ffc2b
...
...
@@ -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,
...
...
This diff is collapsed.
Click to expand it.
Sources/VLCMediaPlayer.m
+
1
−
2
View file @
6a2ffc2b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment