Commit d2edf5f5 authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/directx/events.c: compilation fix.
parent 53f87282
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* events.c: Windows DirectX video output events handler * events.c: Windows DirectX video output events handler
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * 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 <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -220,29 +220,29 @@ void DirectXEventThread( event_thread_t *p_event ) ...@@ -220,29 +220,29 @@ void DirectXEventThread( event_thread_t *p_event )
/* input_Seek( p_event->p_vout, -5, /* input_Seek( p_event->p_vout, -5,
INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */
val.psz_string = "LEFT"; val.psz_string = "LEFT";
var_Set( p_vout, "key-pressed", val ); var_Set( p_event->p_vout, "key-pressed", val );
break; break;
case VK_RIGHT: case VK_RIGHT:
/* input_Seek( p_event->p_vout, 5, /* input_Seek( p_event->p_vout, 5,
INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */
val.psz_string = "RIGHT"; val.psz_string = "RIGHT";
var_Set( p_vout, "key-pressed", val ); var_Set( p_event->p_vout, "key-pressed", val );
break; break;
case VK_UP: case VK_UP:
/* input_Seek( p_event->p_vout, 60, /* input_Seek( p_event->p_vout, 60,
INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */
val.psz_string = "UP"; val.psz_string = "UP";
var_Set( p_vout, "key-pressed", val ); var_Set( p_event->p_vout, "key-pressed", val );
break; break;
case VK_DOWN: case VK_DOWN:
/* input_Seek( p_event->p_vout, -60, /* input_Seek( p_event->p_vout, -60,
INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */ INPUT_SEEK_SECONDS | INPUT_SEEK_CUR ); */
val.psz_string = "DOWN"; val.psz_string = "DOWN";
var_Set( p_vout, "key-pressed", val ); var_Set( p_event->p_vout, "key-pressed", val );
break; break;
case VK_RETURN: case VK_RETURN:
val.psz_string = "ENTER"; val.psz_string = "ENTER";
var_Set( p_vout, "key-pressed", val ); var_Set( p_event->p_vout, "key-pressed", val );
break; break;
case VK_HOME: case VK_HOME:
input_Seek( p_event->p_vout, 0, input_Seek( p_event->p_vout, 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment