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
a2e32b31
Commit
a2e32b31
authored
Feb 25, 2007
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_video_get_handle function added
parent
3b75df1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
include/vlc/libvlc.h
include/vlc/libvlc.h
+9
-0
src/control/video.c
src/control/video.c
+10
-0
No files found.
include/vlc/libvlc.h
View file @
a2e32b31
...
...
@@ -431,6 +431,15 @@ VLC_PUBLIC_API int libvlc_video_reparent( libvlc_input_t *, libvlc_drawable_t, l
*/
VLC_PUBLIC_API
void
libvlc_video_set_parent
(
libvlc_instance_t
*
,
libvlc_drawable_t
,
libvlc_exception_t
*
);
/**
* Set the default video output parent
* this settings will be used as default for all video outputs
* \param p_instance libvlc instance
* \param drawable the new parent window (Drawable on X11, CGrafPort on MacOSX, HWND on Win32)
* \param p_exception an initialized exception
*/
VLC_PUBLIC_API
libvlc_drawable_t
libvlc_video_get_handle
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
/**
* Set the default video output size
* this settings will be used as default for all video outputs
...
...
src/control/video.c
View file @
a2e32b31
...
...
@@ -260,6 +260,16 @@ void libvlc_video_set_parent( libvlc_instance_t *p_instance, libvlc_drawable_t d
}
}
libvlc_drawable_t
libvlc_video_get_handle
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
{
libvlc_drawable_t
result
;
result
=
var_GetInteger
(
p_instance
->
p_libvlc_int
,
"drawable"
);
return
result
;
}
void
libvlc_video_set_size
(
libvlc_instance_t
*
p_instance
,
int
width
,
int
height
,
libvlc_exception_t
*
p_e
)
{
...
...
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