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
5f08edfe
Commit
5f08edfe
authored
Jul 24, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: deprecate AGL vout setter/getter
The QuickDraw vout is gone since a long time so this remnant is a NO-OP
parent
5e3ceea1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
21 deletions
+6
-21
NEWS
NEWS
+2
-1
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+4
-8
lib/media_player.c
lib/media_player.c
+0
-12
No files found.
NEWS
View file @
5f08edfe
...
...
@@ -145,7 +145,8 @@ libVLC:
* Add libvlc_media_get_type to get the type of the media
* Add libvlc_media_player_get_full_title_descriptions to get full title info of the media
* Add libvlc_media_player_get_full_chapter_descriptions to get full chapter info of the media
* Deprecate libvlc_video_get_title_description, libvlc_video_get_chapter_description
* Deprecate libvlc_video_get_title_description, libvlc_video_get_chapter_description,
libvlc_media_player_get_agl, libvlc_media_player_set_agl
Logging
* Support for the SystemD Journal
...
...
include/vlc/libvlc_media_player.h
View file @
5f08edfe
...
...
@@ -451,19 +451,15 @@ LIBVLC_API void libvlc_media_player_set_nsobject ( libvlc_media_player_t *p_mi,
LIBVLC_API
void
*
libvlc_media_player_get_nsobject
(
libvlc_media_player_t
*
p_mi
);
/**
* Set the agl handler where the media player should render its video output.
*
* \param p_mi the Media Player
* \param drawable the agl handler
* \deprecated Use libvlc_media_player_set_nsobject instead
*/
LIBVLC_DEPRECATED
LIBVLC_API
void
libvlc_media_player_set_agl
(
libvlc_media_player_t
*
p_mi
,
uint32_t
drawable
);
/**
* Get the agl handler previously set with libvlc_media_player_set_agl().
*
* \param p_mi the Media Player
* \return the agl handler or 0 if none where set
* \deprecated Use libvlc_media_player_get_nsobject instead
*/
LIBVLC_DEPRECATED
LIBVLC_API
uint32_t
libvlc_media_player_get_agl
(
libvlc_media_player_t
*
p_mi
);
/**
...
...
lib/media_player.c
View file @
5f08edfe
...
...
@@ -1025,14 +1025,7 @@ void * libvlc_media_player_get_nsobject( libvlc_media_player_t *p_mi )
void
libvlc_media_player_set_agl
(
libvlc_media_player_t
*
p_mi
,
uint32_t
drawable
)
{
#ifdef __APPLE__
var_SetString
(
p_mi
,
"avcodec-hw"
,
""
);
var_SetString
(
p_mi
,
"vout"
,
""
);
var_SetString
(
p_mi
,
"window"
,
"none"
);
var_SetInteger
(
p_mi
,
"drawable-agl"
,
drawable
);
#else
(
void
)
p_mi
;
(
void
)
drawable
;
#endif
}
/**************************************************************************
...
...
@@ -1040,12 +1033,7 @@ void libvlc_media_player_set_agl( libvlc_media_player_t *p_mi,
**************************************************************************/
uint32_t
libvlc_media_player_get_agl
(
libvlc_media_player_t
*
p_mi
)
{
assert
(
p_mi
!=
NULL
);
#ifdef __APPLE__
return
var_GetInteger
(
p_mi
,
"drawable-agl"
);
#else
return
0
;
#endif
}
/**************************************************************************
...
...
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