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
c77ca899
Commit
c77ca899
authored
Jan 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc/libvlc.h: Export libvlc_media_instance_get_drawable().
parent
32d37f69
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
include/vlc/libvlc.h
include/vlc/libvlc.h
+2
-0
src/control/media_instance.c
src/control/media_instance.c
+9
-0
No files found.
include/vlc/libvlc.h
View file @
c77ca899
...
...
@@ -445,6 +445,8 @@ VLC_PUBLIC_API void libvlc_media_instance_pause ( libvlc_media_instance_t *, lib
VLC_PUBLIC_API
void
libvlc_media_instance_stop
(
libvlc_media_instance_t
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
void
libvlc_media_instance_set_drawable
(
libvlc_media_instance_t
*
,
libvlc_drawable_t
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
libvlc_drawable_t
libvlc_media_instance_get_drawable
(
libvlc_media_instance_t
*
,
libvlc_exception_t
*
);
/** \bug This might go away ... to be replaced by a broader system */
VLC_PUBLIC_API
libvlc_time_t
libvlc_media_instance_get_length
(
libvlc_media_instance_t
*
,
libvlc_exception_t
*
);
...
...
src/control/media_instance.c
View file @
c77ca899
...
...
@@ -588,6 +588,15 @@ void libvlc_media_instance_set_drawable( libvlc_media_instance_t *p_mi,
p_mi
->
drawable
=
drawable
;
}
/**************************************************************************
* Get Drawable
**************************************************************************/
libvlc_drawable_t
libvlc_media_instance_get_drawable
(
libvlc_media_instance_t
*
p_mi
,
libvlc_exception_t
*
p_e
)
{
return
p_mi
->
drawable
;
}
/**************************************************************************
* Getters for stream information
**************************************************************************/
...
...
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