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
2d80aa6c
Commit
2d80aa6c
authored
Jun 28, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_output.c: should fix playback of file with multiple video track,
and usage of display in stream output.
parent
4101032f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
src/video_output/video_output.c
src/video_output/video_output.c
+11
-7
No files found.
src/video_output/video_output.c
View file @
2d80aa6c
...
...
@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: video_output.c,v 1.22
7 2003/06/26 12:19:59 sam
Exp $
* $Id: video_output.c,v 1.22
8 2003/06/28 21:18:58 fenrir
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
...
...
@@ -79,25 +79,23 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout,
if
(
p_vout
)
{
vlc_object_t
*
p_input
;
char
*
psz_sout
=
config_GetPsz
(
p_this
,
"sout"
);
p_input
=
vlc_object_find
(
p_this
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
if
(
p_input
&&
(
!
psz_sout
||
!*
psz_sout
)
)
if
(
p_input
)
{
vlc_object_detach
(
p_vout
);
vlc_object_attach
(
p_vout
,
p_input
);
vlc_object_release
(
p_input
);
}
else
{
vlc_object_detach
(
p_vout
);
vlc_object_release
(
p_vout
);
/* vlc_object_release( p_vout ); */
vout_Destroy
(
p_vout
);
}
if
(
psz_sout
)
free
(
psz_sout
);
if
(
p_input
)
vlc_object_release
(
p_input
);
}
return
NULL
;
}
...
...
@@ -119,6 +117,12 @@ vout_thread_t * __vout_Request ( vlc_object_t *p_this, vout_thread_t *p_vout,
{
p_vout
=
vlc_object_find
(
p_input
,
VLC_OBJECT_VOUT
,
FIND_CHILD
);
/* only first children of p_input for unused vout */
if
(
p_vout
&&
p_vout
->
p_parent
!=
p_input
)
{
vlc_object_release
(
p_vout
);
p_vout
=
NULL
;
}
vlc_object_release
(
p_input
);
}
}
...
...
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