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
fd584ea3
Commit
fd584ea3
authored
May 31, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added vout_GetSpu to retreive the spu_t object from the vout.
It will allow hiding vout_thread_t fields.
parent
a15851b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
include/vlc_vout.h
include/vlc_vout.h
+9
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
src/video_output/video_output.c
src/video_output/video_output.c
+5
-0
No files found.
include/vlc_vout.h
View file @
fd584ea3
...
...
@@ -310,6 +310,15 @@ VLC_EXPORT( void, vout_LinkPicture, ( vout_thread_t *, picture_t *
VLC_EXPORT
(
void
,
vout_UnlinkPicture
,
(
vout_thread_t
*
,
picture_t
*
)
);
VLC_EXPORT
(
void
,
vout_PlacePicture
,
(
const
vout_thread_t
*
,
unsigned
int
,
unsigned
int
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
)
);
/**
* Return the spu_t object associated to a vout_thread_t.
*
* The return object is valid only as long as the vout is. You must not
* release the spu_t object returned.
* It cannot return NULL so no need to check.
*/
VLC_EXPORT
(
spu_t
*
,
vout_GetSpu
,
(
vout_thread_t
*
)
);
void
vout_IntfInit
(
vout_thread_t
*
);
VLC_EXPORT
(
void
,
vout_EnableFilter
,
(
vout_thread_t
*
,
char
*
,
bool
,
bool
)
);
...
...
src/libvlccore.sym
View file @
fd584ea3
...
...
@@ -542,6 +542,7 @@ vout_DestroyPicture
vout_DisplayPicture
vout_EnableFilter
vout_GetSnapshot
vout_GetSpu
vout_LinkPicture
vout_OSDIcon
__vout_OSDMessage
...
...
src/video_output/video_output.c
View file @
fd584ea3
...
...
@@ -800,6 +800,11 @@ void vout_DisplayTitle( vout_thread_t *p_vout, const char *psz_title )
vlc_mutex_unlock
(
&
p_vout
->
change_lock
);
}
spu_t
*
vout_GetSpu
(
vout_thread_t
*
p_vout
)
{
return
p_vout
->
p_spu
;
}
/*****************************************************************************
* InitThread: initialize video output thread
*****************************************************************************
...
...
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