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
2d4241a1
Commit
2d4241a1
authored
May 13, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecate all broken vout_Control() abusers
parent
1c5d76c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
50 deletions
+46
-50
include/vlc/deprecated.h
include/vlc/deprecated.h
+46
-4
include/vlc/libvlc.h
include/vlc/libvlc.h
+0
-46
No files found.
include/vlc/deprecated.h
View file @
2d4241a1
...
...
@@ -97,14 +97,56 @@ VLC_DEPRECATED_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_dra
VLC_DEPRECATED_API
libvlc_drawable_t
libvlc_video_get_parent
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
/**
* Change the parent for the current the video output.
* Does nothing. Do not use this function.
*/
VLC_DEPRECATED_API
int
libvlc_video_reparent
(
libvlc_media_player_t
*
,
libvlc_drawable_t
,
libvlc_exception_t
*
);
/**
* Resize the current video output window.
* This might crash. Please use libvlc_video_set_scale() instead.
*
* \param p_instance libvlc instance
* \param drawable the new parent window (Drawable on X11, CGrafPort on MacOSX, HWND on Win32)
* \param p_mi media player instance
* \param width new width for video output window
* \param height new height for video output window
* \param p_e an initialized exception pointer
* \return the success status (boolean)
*/
VLC_PUBLIC_API
int
libvlc_video_reparent
(
libvlc_media_player_t
*
,
libvlc_drawable_t
,
libvlc_exception_t
*
);
VLC_DEPRECATED_API
void
libvlc_video_resize
(
libvlc_media_player_t
*
,
int
,
int
,
libvlc_exception_t
*
);
/**
* Tell windowless video output to redraw rectangular area (MacOS X only).
* This might crash. Do not use this function.
*
* \param p_mi media player instance
* \param area coordinates within video drawable
* \param p_e an initialized exception pointer
*/
VLC_DEPRECATED_API
void
libvlc_video_redraw_rectangle
(
libvlc_media_player_t
*
,
const
libvlc_rectangle_t
*
,
libvlc_exception_t
*
);
/**
* Set the default video output size.
* This setting will be used as default for all video outputs.
*
* \param p_instance libvlc instance
* \param width new width for video drawable
* \param height new height for video drawable
* \param p_e an initialized exception pointer
*/
VLC_DEPRECATED_API
void
libvlc_video_set_size
(
libvlc_instance_t
*
,
int
,
int
,
libvlc_exception_t
*
);
/**
* Set the default video output viewport for a windowless video output
* (MacOS X only). This might crash. Do not use this function.
*
* This setting will be used as default for all video outputs.
*
* \param p_instance libvlc instance
* \param p_mi media player instance
* \param view coordinates within video drawable
* \param clip coordinates within video drawable
* \param p_e an initialized exception pointer
*/
VLC_DEPRECATED_API
void
libvlc_video_set_viewport
(
libvlc_instance_t
*
,
libvlc_media_player_t
*
,
const
libvlc_rectangle_t
*
,
const
libvlc_rectangle_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 @
2d4241a1
...
...
@@ -1092,52 +1092,6 @@ VLC_PUBLIC_API void libvlc_video_set_track( libvlc_media_player_t *, int, libvlc
*/
VLC_PUBLIC_API
void
libvlc_video_take_snapshot
(
libvlc_media_player_t
*
,
const
char
*
,
unsigned
int
,
unsigned
int
,
libvlc_exception_t
*
);
/**
* Resize the current video output window.
*
* \param p_mi media player instance
* \param width new width for video output window
* \param height new height for video output window
* \param p_e an initialized exception pointer
* \return the success status (boolean)
*/
VLC_PUBLIC_API
void
libvlc_video_resize
(
libvlc_media_player_t
*
,
int
,
int
,
libvlc_exception_t
*
);
/**
* Tell windowless video output to redraw rectangular area (MacOS X only).
*
* \param p_mi media player instance
* \param area coordinates within video drawable
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_video_redraw_rectangle
(
libvlc_media_player_t
*
,
const
libvlc_rectangle_t
*
,
libvlc_exception_t
*
);
/**
* Set the default video output size.
*
* This setting will be used as default for all video outputs.
*
* \param p_instance libvlc instance
* \param width new width for video drawable
* \param height new height for video drawable
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_video_set_size
(
libvlc_instance_t
*
,
int
,
int
,
libvlc_exception_t
*
);
/**
* Set the default video output viewport for a windowless video output
* (MacOS X only).
*
* This setting will be used as default for all video outputs.
*
* \param p_instance libvlc instance
* \param p_mi media player instance
* \param view coordinates within video drawable
* \param clip coordinates within video drawable
* \param p_e an initialized exception pointer
*/
VLC_PUBLIC_API
void
libvlc_video_set_viewport
(
libvlc_instance_t
*
,
libvlc_media_player_t
*
,
const
libvlc_rectangle_t
*
,
const
libvlc_rectangle_t
*
,
libvlc_exception_t
*
);
/** @} video */
/** \defgroup libvlc_audio libvlc_audio
...
...
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