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
1df47ba6
Commit
1df47ba6
authored
Nov 01, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed uneeded hack (vout).
parent
2fcbecb6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
src/video_output/video_output.c
src/video_output/video_output.c
+2
-4
src/video_output/vout_wrapper.c
src/video_output/vout_wrapper.c
+7
-7
No files found.
src/video_output/video_output.c
View file @
1df47ba6
...
...
@@ -143,12 +143,10 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
/* Get splitter name if present */
char
*
splitter_name
=
var_InheritString
(
vout
,
"video-splitter"
);
if
(
splitter_name
&&
*
splitter_name
)
{
if
(
asprintf
(
&
vout
->
p
->
splitter_name
,
"%s,none"
,
splitter_name
)
<
0
)
vout
->
p
->
splitter_name
=
NULL
;
vout
->
p
->
splitter_name
=
splitter_name
;
}
else
{
vout
->
p
->
splitter_name
=
NULL
;
}
free
(
splitter_name
);
}
/* */
vout_InitInterlacingSupport
(
vout
,
vout
->
p
->
displayed
.
is_interlaced
);
...
...
src/video_output/vout_wrapper.c
View file @
1df47ba6
...
...
@@ -48,7 +48,7 @@ static int Forward(vlc_object_t *, char const *,
*
*****************************************************************************/
int
vout_OpenWrapper
(
vout_thread_t
*
vout
,
const
char
*
name
,
const
vout_display_state_t
*
state
)
const
char
*
splitter_
name
,
const
vout_display_state_t
*
state
)
{
vout_thread_sys_t
*
sys
=
vout
->
p
;
msg_Dbg
(
vout
,
"Opening vout display wrapper"
);
...
...
@@ -66,13 +66,13 @@ int vout_OpenWrapper(vout_thread_t *vout,
const
mtime_t
double_click_timeout
=
300000
;
const
mtime_t
hide_timeout
=
var_CreateGetInteger
(
vout
,
"mouse-hide-timeout"
)
*
1000
;
sys
->
display
.
vd
=
vout_NewDisplay
(
vout
,
&
source
,
state
,
name
?
name
:
"$vout"
,
if
(
splitter_name
)
{
sys
->
display
.
vd
=
vout_NewSplitter
(
vout
,
&
source
,
state
,
"$vout"
,
splitter_name
,
double_click_timeout
,
hide_timeout
);
/* If we need to video filter and it fails, then try a splitter
* XXX it is a hack for now FIXME */
if
(
name
&&
!
sys
->
display
.
vd
)
sys
->
display
.
vd
=
vout_NewSplitter
(
vout
,
&
source
,
state
,
"$vout"
,
name
,
}
else
{
sys
->
display
.
vd
=
vout_NewDisplay
(
vout
,
&
source
,
state
,
"$vout"
,
double_click_timeout
,
hide_timeout
);
}
if
(
!
sys
->
display
.
vd
)
{
free
(
sys
->
display
.
title
);
return
VLC_EGENERIC
;
...
...
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