From d2edf5f53842931ed8326acba7ac28114837feba Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Tue, 29 Jul 2003 21:46:44 +0000 Subject: [PATCH] * modules/video_output/directx/events.c: compilation fix. --- modules/video_output/directx/events.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/video_output/directx/events.c b/modules/video_output/directx/events.c index 24985ddcaf..52b9dade69 100644 --- a/modules/video_output/directx/events.c +++ b/modules/video_output/directx/events.c @@ -2,7 +2,7 @@ * events.c: Windows DirectX video output events handler ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: events.c,v 1.20 2003/07/29 21:14:10 gbazin Exp $ + * $Id: events.c,v 1.21 2003/07/29 21:46:44 gbazin Exp $ * * Authors: Gildas Bazin * @@ -220,29 +220,29 @@ void DirectXEventThread( event_thread_t *p_event ) /* input_Seek( p_event->p_vout, -5, INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ val.psz_string = "LEFT"; - var_Set( p_vout, "key-pressed", val ); + var_Set( p_event->p_vout, "key-pressed", val ); break; case VK_RIGHT: /* input_Seek( p_event->p_vout, 5, INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ val.psz_string = "RIGHT"; - var_Set( p_vout, "key-pressed", val ); + var_Set( p_event->p_vout, "key-pressed", val ); break; case VK_UP: /* input_Seek( p_event->p_vout, 60, INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ val.psz_string = "UP"; - var_Set( p_vout, "key-pressed", val ); + var_Set( p_event->p_vout, "key-pressed", val ); break; case VK_DOWN: /* input_Seek( p_event->p_vout, -60, INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ val.psz_string = "DOWN"; - var_Set( p_vout, "key-pressed", val ); + var_Set( p_event->p_vout, "key-pressed", val ); break; case VK_RETURN: val.psz_string = "ENTER"; - var_Set( p_vout, "key-pressed", val ); + var_Set( p_event->p_vout, "key-pressed", val ); break; case VK_HOME: input_Seek( p_event->p_vout, 0, -- 2.39.2