Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
70812fdc
Commit
70812fdc
authored
Jan 27, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/framework: Export -gotoNextFrame.
parent
0cd9960f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
projects/macosx/framework/Headers/Public/VLCMediaPlayer.h
projects/macosx/framework/Headers/Public/VLCMediaPlayer.h
+5
-0
projects/macosx/framework/Sources/VLCMediaPlayer.m
projects/macosx/framework/Sources/VLCMediaPlayer.m
+14
-1
No files found.
projects/macosx/framework/Headers/Public/VLCMediaPlayer.h
View file @
70812fdc
...
...
@@ -242,6 +242,11 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
*/
-
(
void
)
stop
;
/**
* Advance one frame.
*/
-
(
void
)
gotoNextFrame
;
/**
* Fast forwards through the feed at the standard 1x rate.
*/
...
...
projects/macosx/framework/Sources/VLCMediaPlayer.m
View file @
70812fdc
...
...
@@ -396,7 +396,11 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
libvlc_exception_t
ex
;
libvlc_exception_init
(
&
ex
);
float
result
=
libvlc_media_player_get_rate
(
instance
,
&
ex
);
catch_exception
(
&
ex
);
if
(
libvlc_exception_raised
(
&
ex
))
{
result
=
1
;
libvlc_exception_clear
(
&
ex
);
}
return
result
;
}
...
...
@@ -692,6 +696,15 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
libvlc_media_player_stop
(
instance
);
}
-
(
void
)
gotoNextFrame
{
libvlc_exception_t
e
;
libvlc_exception_init
(
&
e
);
libvlc_media_player_next_frame
(
instance
,
&
e
);
catch_exception
(
&
e
);
}
-
(
void
)
fastForward
{
[
self
fastForwardAtRate
:
2
.
0
];
...
...
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