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
ec8b0a2d
Commit
ec8b0a2d
authored
Jun 13, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: libvlc_video_set_parent and libvlc_video_get_parent are deprecated.
parent
7041e62b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
22 deletions
+26
-22
include/vlc/deprecated.h
include/vlc/deprecated.h
+24
-0
include/vlc/libvlc.h
include/vlc/libvlc.h
+0
-22
src/control/video.c
src/control/video.c
+2
-0
No files found.
include/vlc/deprecated.h
View file @
ec8b0a2d
...
...
@@ -29,6 +29,30 @@
extern
"C"
{
# endif
/**
* Set the default video output's parent.
*
* This setting 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_e an initialized exception pointer
* @deprecated Use libvlc_media_player_set_drawable
*/
VLC_PUBLIC_API
void
libvlc_video_set_parent
(
libvlc_instance_t
*
,
libvlc_drawable_t
,
libvlc_exception_t
*
);
/**
* Set the default video output parent.
*
* This setting 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_e an initialized exception pointer
* @deprecated Use libvlc_media_player_get_drawable
*/
VLC_PUBLIC_API
libvlc_drawable_t
libvlc_video_get_parent
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
/*
* This function shall not be used at all. It may lead to crash and race condition.
*/
...
...
include/vlc/libvlc.h
View file @
ec8b0a2d
...
...
@@ -649,28 +649,6 @@ VLC_PUBLIC_API int libvlc_video_reparent( libvlc_media_player_t *, libvlc_drawab
*/
VLC_PUBLIC_API
void
libvlc_video_redraw_rectangle
(
libvlc_media_player_t
*
,
const
libvlc_rectangle_t
*
,
libvlc_exception_t
*
);
/**
* Set the default video output's parent.
*
* This setting 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_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_video_set_parent
(
libvlc_instance_t
*
,
libvlc_drawable_t
,
libvlc_exception_t
*
);
/**
* Set the default video output parent.
*
* This setting 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_e an initialized exception pointer
*/
VLC_PUBLIC_API
libvlc_drawable_t
libvlc_video_get_parent
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
/**
* Set the default video output size.
*
...
...
src/control/video.c
View file @
ec8b0a2d
...
...
@@ -231,6 +231,7 @@ void libvlc_video_redraw_rectangle( libvlc_media_player_t *p_mi,
/* global video settings */
/* Deprecated use libvlc_media_player_set_drawable() */
void
libvlc_video_set_parent
(
libvlc_instance_t
*
p_instance
,
libvlc_drawable_t
d
,
libvlc_exception_t
*
p_e
)
{
...
...
@@ -245,6 +246,7 @@ void libvlc_video_set_parent( libvlc_instance_t *p_instance, libvlc_drawable_t d
}
}
/* Deprecated use libvlc_media_player_get_drawable() */
libvlc_drawable_t
libvlc_video_get_parent
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
{
VLC_UNUSED
(
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