[vlc-devel] [PATCH 09/12] KVA: Add VMAN-backend supports
Jean-Baptiste Kempf
jb at videolan.org
Fri Mar 2 16:38:52 CET 2012
Done.
On Fri, Mar 02, 2012 at 11:57:59PM +0900, KO Myung-Hun wrote :
> From: KO Myung-Hun <komh78 at gmail.com>
>
> Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> (cherry picked from commit 775a33e104ef7561962bc1fb3e2c7a93c53779bb)
>
> Signed-off-by: KO Myung-Hun <komh at chollian.net>
> ---
> modules/video_output/kva.c | 9 ++++++---
> 1 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
> index 3aaaf05..16a495a 100644
> --- a/modules/video_output/kva.c
> +++ b/modules/video_output/kva.c
> @@ -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;
>
> --
> 1.7.3.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
--
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list