Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
8cc18957
Commit
8cc18957
authored
Aug 13, 2009
by
Hugo Beauzee-Luyssen
Committed by
Jean-Baptiste Kempf
Aug 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a libvlc_media_player_next_frame
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
03d676ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+12
-0
src/control/media_player.c
src/control/media_player.c
+9
-0
src/libvlc.sym
src/libvlc.sym
+1
-0
No files found.
include/vlc/libvlc_media_player.h
View file @
8cc18957
...
@@ -482,6 +482,18 @@ VLC_PUBLIC_API int libvlc_media_player_is_seekable( libvlc_media_player_t *p_mi,
...
@@ -482,6 +482,18 @@ VLC_PUBLIC_API int libvlc_media_player_is_seekable( libvlc_media_player_t *p_mi,
*/
*/
VLC_PUBLIC_API
int
libvlc_media_player_can_pause
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_e
);
VLC_PUBLIC_API
int
libvlc_media_player_can_pause
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_e
);
/**
* Display the next frame
*
* \param p_input the libvlc_media_player_t instance
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_media_player_next_frame
(
libvlc_media_player_t
*
p_input
,
libvlc_exception_t
*
p_e
);
/**
/**
* Release (free) libvlc_track_description_t
* Release (free) libvlc_track_description_t
*
*
...
...
src/control/media_player.c
View file @
8cc18957
...
@@ -1240,3 +1240,12 @@ int libvlc_media_player_can_pause( libvlc_media_player_t *p_mi,
...
@@ -1240,3 +1240,12 @@ int libvlc_media_player_can_pause( libvlc_media_player_t *p_mi,
return
val
.
b_bool
;
return
val
.
b_bool
;
}
}
void
libvlc_media_player_next_frame
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_e
)
{
input_thread_t
*
p_input_thread
=
libvlc_get_input_thread
(
p_mi
,
p_e
);
if
(
p_input_thread
!=
NULL
)
var_TriggerCallback
(
p_input_thread
,
"frame-next"
);
else
libvlc_exception_raise
(
p_e
,
"Input thread is NULL"
);
}
src/libvlc.sym
View file @
8cc18957
...
@@ -121,6 +121,7 @@ libvlc_media_new
...
@@ -121,6 +121,7 @@ libvlc_media_new
libvlc_media_new_as_node
libvlc_media_new_as_node
libvlc_media_new_from_input_item
libvlc_media_new_from_input_item
libvlc_media_player_can_pause
libvlc_media_player_can_pause
libvlc_media_player_next_frame
libvlc_media_player_event_manager
libvlc_media_player_event_manager
libvlc_media_player_get_agl
libvlc_media_player_get_agl
libvlc_media_player_get_chapter
libvlc_media_player_get_chapter
...
...
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