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
156883de
Commit
156883de
authored
Oct 05, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated libvlc_video_set_deinterlace.
parent
b069ed3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/control/video.c
src/control/video.c
+4
-2
No files found.
src/control/video.c
View file @
156883de
...
...
@@ -624,10 +624,12 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable,
/* be sure that the filter name given is supported */
if
(
!
strcmp
(
psz_mode
,
"blend"
)
||
!
strcmp
(
psz_mode
,
"bob"
)
||
!
strcmp
(
psz_mode
,
"discard"
)
||
!
strcmp
(
psz_mode
,
"linear"
)
||
!
strcmp
(
psz_mode
,
"mean"
)
||
!
strcmp
(
psz_mode
,
"x"
)
)
||
!
strcmp
(
psz_mode
,
"mean"
)
||
!
strcmp
(
psz_mode
,
"x"
)
||
!
strcmp
(
psz_mode
,
"yadif"
)
||
!
strcmp
(
psz_mode
,
"yadif2x"
)
)
{
/* set deinterlace filter chosen */
var_SetString
(
p_vout
,
"deinterlace-mode"
,
psz_mode
);
var_SetInteger
(
p_vout
,
"deinterlace"
,
1
);
}
else
{
...
...
@@ -638,7 +640,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable,
else
{
/* disable deinterlace filter */
var_Set
String
(
p_vout
,
"deinterlace-mode"
,
""
);
var_Set
Integer
(
p_vout
,
"deinterlace"
,
0
);
}
vlc_object_release
(
p_vout
);
...
...
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