Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
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