Commit 0c6f4bc9 authored by Sam Hocevar's avatar Sam Hocevar

  * Lots of DirectX plugin fixes by Gildas Bazin.
  * Compilation fix in message queue mode.
parent a78e34d0
...@@ -41,7 +41,7 @@ typedef struct module_symbols_s ...@@ -41,7 +41,7 @@ typedef struct module_symbols_s
void ( * intf_Msg ) ( char *, ... ); void ( * intf_Msg ) ( char *, ... );
void ( * intf_ErrMsg ) ( char *, ... ); void ( * intf_ErrMsg ) ( char *, ... );
void ( * intf_WarnMsg ) ( int, char *, ... ); void ( * intf_WarnMsg ) ( int, char *, ... );
void ( * intf_FlushMsg )( void ); void ( * intf_WarnMsgImm ) ( int, char *, ... );
int ( * intf_PlaylistAdd ) ( struct playlist_s *, int, const char* ); int ( * intf_PlaylistAdd ) ( struct playlist_s *, int, const char* );
int ( * intf_PlaylistDelete ) ( struct playlist_s *, int ); int ( * intf_PlaylistDelete ) ( struct playlist_s *, int );
...@@ -135,7 +135,7 @@ typedef struct module_symbols_s ...@@ -135,7 +135,7 @@ typedef struct module_symbols_s
(p_symbols)->intf_Msg = intf_Msg; \ (p_symbols)->intf_Msg = intf_Msg; \
(p_symbols)->intf_ErrMsg = intf_ErrMsg; \ (p_symbols)->intf_ErrMsg = intf_ErrMsg; \
(p_symbols)->intf_WarnMsg = intf_WarnMsg; \ (p_symbols)->intf_WarnMsg = intf_WarnMsg; \
(p_symbols)->intf_FlushMsg = intf_FlushMsg; \ (p_symbols)->intf_WarnMsgImm = intf_WarnMsgImm; \
(p_symbols)->intf_PlaylistAdd = intf_PlaylistAdd; \ (p_symbols)->intf_PlaylistAdd = intf_PlaylistAdd; \
(p_symbols)->intf_PlaylistDelete = intf_PlaylistDelete; \ (p_symbols)->intf_PlaylistDelete = intf_PlaylistDelete; \
(p_symbols)->intf_PlaylistNext = intf_PlaylistNext; \ (p_symbols)->intf_PlaylistNext = intf_PlaylistNext; \
...@@ -203,7 +203,7 @@ extern module_symbols_t* p_symbols; ...@@ -203,7 +203,7 @@ extern module_symbols_t* p_symbols;
# define intf_Msg p_symbols->intf_Msg # define intf_Msg p_symbols->intf_Msg
# define intf_ErrMsg p_symbols->intf_ErrMsg # define intf_ErrMsg p_symbols->intf_ErrMsg
# define intf_WarnMsg p_symbols->intf_WarnMsg # define intf_WarnMsg p_symbols->intf_WarnMsg
# define intf_FlushMsg p_symbols->intf_FlushMsg # define intf_WarnMsgImm p_symbols->intf_WarnMsgImm
# define intf_PlaylistAdd(a,b,c) p_symbols->intf_PlaylistAdd(a,b,c) # define intf_PlaylistAdd(a,b,c) p_symbols->intf_PlaylistAdd(a,b,c)
# define intf_PlaylistDelete(a,b) p_symbols->intf_PlaylistDelete(a,b) # define intf_PlaylistDelete(a,b) p_symbols->intf_PlaylistDelete(a,b)
......
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* input_dummy.c: dummy input plugin, to manage "vlc:***" special options * input_dummy.c: dummy input plugin, to manage "vlc:***" special options
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: input_dummy.c,v 1.1 2001/06/07 01:10:33 sam Exp $ * $Id: input_dummy.c,v 1.2 2001/06/08 20:03:16 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -150,8 +150,7 @@ static void DummyOpen( input_thread_t * p_input ) ...@@ -150,8 +150,7 @@ static void DummyOpen( input_thread_t * p_input )
{ {
i_arg = atoi( psz_name + 6 ); i_arg = atoi( psz_name + 6 );
intf_WarnMsg( 1, "input: playlist command `pause %i'", i_arg ); intf_WarnMsgImm( 1, "input: playlist command `pause %i'", i_arg );
intf_FlushMsg();
msleep( i_arg * 1000000 ); msleep( i_arg * 1000000 );
return; return;
......
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