Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
714ef56a
Commit
714ef56a
authored
Jan 29, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Export libvlc_media_player_get_input_thread().
parent
2114b4ec
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
+9
-0
src/control/media_player.c
src/control/media_player.c
+12
-0
src/libvlc.sym
src/libvlc.sym
+1
-0
No files found.
include/vlc/libvlc_media_player.h
View file @
714ef56a
...
@@ -502,6 +502,15 @@ VLC_PUBLIC_API void libvlc_media_player_next_frame( libvlc_media_player_t *p_
...
@@ -502,6 +502,15 @@ VLC_PUBLIC_API void libvlc_media_player_next_frame( libvlc_media_player_t *p_
libvlc_exception_t
*
p_e
);
libvlc_exception_t
*
p_e
);
/**
* Access to libvlc core internal structure.
*
* This enables nasty hack. Use of this method is discouraged.
*
* \param player the libvlc_media_player_t instance
* \return a libvlccore input_thread_t or NULL. The actual behaviour is not specified.
*/
VLC_PUBLIC_API
struct
input_thread_t
*
libvlc_media_player_get_input_thread
(
libvlc_media_player_t
*
player
);
/**
/**
* Release (free) libvlc_track_description_t
* Release (free) libvlc_track_description_t
...
...
src/control/media_player.c
View file @
714ef56a
...
@@ -1223,3 +1223,15 @@ void libvlc_media_player_next_frame( libvlc_media_player_t *p_mi, libvlc_excepti
...
@@ -1223,3 +1223,15 @@ void libvlc_media_player_next_frame( libvlc_media_player_t *p_mi, libvlc_excepti
libvlc_printerr
(
"No active input"
);
libvlc_printerr
(
"No active input"
);
}
}
}
}
/**************************************************************************
* get_input_thread (Public API version)
**************************************************************************/
struct
input_thread_t
*
libvlc_media_player_get_input_thread
(
libvlc_media_player_t
*
player
)
{
libvlc_exception_t
e
;
libvlc_exception_init
(
&
e
);
input_thread_t
*
input
=
libvlc_get_input_thread
(
player
,
&
e
);
clear_if_needed
(
&
e
);
return
input
;
}
src/libvlc.sym
View file @
714ef56a
...
@@ -133,6 +133,7 @@ libvlc_media_player_get_chapter_count
...
@@ -133,6 +133,7 @@ libvlc_media_player_get_chapter_count
libvlc_media_player_get_chapter_count_for_title
libvlc_media_player_get_chapter_count_for_title
libvlc_media_player_get_fps
libvlc_media_player_get_fps
libvlc_media_player_get_hwnd
libvlc_media_player_get_hwnd
libvlc_media_player_get_input_thread
libvlc_media_player_get_length
libvlc_media_player_get_length
libvlc_media_player_get_media
libvlc_media_player_get_media
libvlc_media_player_get_nsobject
libvlc_media_player_get_nsobject
...
...
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