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
b0b94a1c
Commit
b0b94a1c
authored
Nov 08, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed an uninitiliazed value regarding deinterlacing state.
Thanks to ivoire for noticing it.
parent
66440f9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/video_output/video_output.c
src/video_output/video_output.c
+3
-3
No files found.
src/video_output/video_output.c
View file @
b0b94a1c
...
...
@@ -2060,9 +2060,9 @@ static void DeinterlaceEnable( vout_thread_t *p_vout )
/* */
bool
is_needed
;
if
(
i_deinterlace
==
-
2
)
is_need
ed
=
true
;
p_vout
->
p
->
b_picture_interlac
ed
=
true
;
else
if
(
i_deinterlace
==
-
3
)
is_need
ed
=
false
;
p_vout
->
p
->
b_picture_interlac
ed
=
false
;
if
(
i_deinterlace
<
0
)
i_deinterlace
=
-
1
;
...
...
@@ -2071,7 +2071,7 @@ static void DeinterlaceEnable( vout_thread_t *p_vout )
/* */
val
.
psz_string
=
psz_deinterlace
?
psz_deinterlace
:
p_optm
->
orig
.
psz
;
var_Change
(
p_vout
,
"deinterlace-mode"
,
VLC_VAR_SETVALUE
,
&
val
,
NULL
);
val
.
b_bool
=
is_need
ed
;
val
.
b_bool
=
p_vout
->
p
->
b_picture_interlac
ed
;
var_Change
(
p_vout
,
"deinterlace-needed"
,
VLC_VAR_SETVALUE
,
&
val
,
NULL
);
var_SetInteger
(
p_vout
,
"deinterlace"
,
i_deinterlace
);
...
...
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