Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
65a17d98
Commit
65a17d98
authored
May 13, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use input_GetVout() instead of vlc_object_find()
parent
42043990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/control/video.c
src/control/video.c
+5
-5
No files found.
src/control/video.c
View file @
65a17d98
...
...
@@ -37,17 +37,17 @@
static
vout_thread_t
*
GetVout
(
libvlc_media_player_t
*
p_mi
,
libvlc_exception_t
*
p_exception
)
{
input_thread_t
*
p_input
_thread
=
libvlc_get_input_thread
(
p_mi
,
p_exception
);
input_thread_t
*
p_input
=
libvlc_get_input_thread
(
p_mi
,
p_exception
);
vout_thread_t
*
p_vout
=
NULL
;
if
(
p_input
_thread
)
if
(
p_input
)
{
p_vout
=
vlc_object_find
(
p_input_thread
,
VLC_OBJECT_VOUT
,
FIND_CHILD
);
p_vout
=
input_GetVout
(
p_input
);
if
(
!
p_vout
)
{
libvlc_exception_raise
(
p_exception
,
"No active video output"
);
}
vlc_object_release
(
p_input
_thread
);
vlc_object_release
(
p_input
);
}
return
p_vout
;
}
...
...
@@ -176,7 +176,7 @@ int libvlc_media_player_has_vout( libvlc_media_player_t *p_mi,
{
vout_thread_t
*
p_vout
;
p_vout
=
vlc_object_find
(
p_input_thread
,
VLC_OBJECT_VOUT
,
FIND_CHILD
);
p_vout
=
input_GetVout
(
p_input_thread
);
if
(
p_vout
)
{
has_vout
=
true
;
...
...
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