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
775a33e1
Commit
775a33e1
authored
Feb 02, 2012
by
KO Myung-Hun
Committed by
Jean-Baptiste Kempf
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVA: Add VMAN-backend supports
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
31bec657
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/video_output/kva.c
modules/video_output/kva.c
+6
-3
No files found.
modules/video_output/kva.c
View file @
775a33e1
...
...
@@ -57,9 +57,9 @@ static void Close( vlc_object_t * );
"Select a proper video mode to be used by KVA." )
static
const
char
*
const
ppsz_kva_video_mode
[]
=
{
"auto"
,
"snap"
,
"wo"
,
"dive"
};
"auto"
,
"snap"
,
"wo"
,
"
vman"
,
"
dive"
};
static
const
char
*
const
ppsz_kva_video_mode_text
[]
=
{
N_
(
"Auto"
),
N_
(
"SNAP"
),
N_
(
"WarpOverlay!"
),
N_
(
"DIVE"
)
};
N_
(
"Auto"
),
N_
(
"SNAP"
),
N_
(
"WarpOverlay!"
),
N_
(
"
VMAN"
),
N_
(
"
DIVE"
)
};
vlc_module_begin
()
set_shortname
(
"KVA"
)
...
...
@@ -138,7 +138,8 @@ static MRESULT EXPENTRY WndProc ( HWND, ULONG, MPARAM, MPARAM );
#define WM_VLC_FULLSCREEN_CHANGE ( WM_USER + 2 )
#define WM_VLC_SIZE_CHANGE ( WM_USER + 3 )
static
const
char
*
psz_video_mode
[
3
]
=
{
"DIVE"
,
"WarpOverlay!"
,
"SNAP"
};
static
const
char
*
psz_video_mode
[
4
]
=
{
"DIVE"
,
"WarpOverlay!"
,
"SNAP"
,
"VMAN"
};
static
void
PMThread
(
void
*
arg
)
{
...
...
@@ -246,6 +247,8 @@ static void PMThread( void *arg )
i_kva_mode
=
KVAM_SNAP
;
else
if
(
strcmp
(
psz_mode
,
"wo"
)
==
0
)
i_kva_mode
=
KVAM_WO
;
else
if
(
strcmp
(
psz_mode
,
"vman"
)
==
0
)
i_kva_mode
=
KVAM_VMAN
;
else
if
(
strcmp
(
psz_mode
,
"dive"
)
==
0
)
i_kva_mode
=
KVAM_DIVE
;
...
...
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