From 33889bca06bc74ea321576df9e261765d88c018a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 23 Jul 2002 20:16:36 +0000 Subject: [PATCH] * ./mozilla/Makefile: fixed dependencies on .h files. * ./plugins/filter/distort.c: fixed a typo in option names. --- mozilla/Makefile | 5 ++--- plugins/filter/distort.c | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/mozilla/Makefile b/mozilla/Makefile index f9d4dcc941..6e8005686b 100644 --- a/mozilla/Makefile +++ b/mozilla/Makefile @@ -29,10 +29,9 @@ uninstall: FORCE: -$(PLUGIN_OBJ): Makefile $(C_OBJ) +$(PLUGIN_OBJ): Makefile ../lib/libvlc.a $(BUILTIN_OBJ:%=../%) $(C_OBJ) $(CC) -shared $(LDFLAGS) -L../lib $(mozilla_LDFLAGS) $(C_OBJ) -lvlc $(BUILTIN_OBJ:%=../%) $(builtins_LDFLAGS) -o $@ - chmod a-x $@ -$(C_OBJ): %.o: %.c +$(C_OBJ): %.o: %.c vlcplugin.h $(CC) $(CFLAGS) -I../include $(mozilla_CFLAGS) -c $< -o $@ diff --git a/plugins/filter/distort.c b/plugins/filter/distort.c index e96073653a..869ed58845 100644 --- a/plugins/filter/distort.c +++ b/plugins/filter/distort.c @@ -2,7 +2,7 @@ * distort.c : Misc video effects plugin for vlc ***************************************************************************** * Copyright (C) 2000, 2001 VideoLAN - * $Id: distort.c,v 1.17 2002/07/20 18:01:42 sam Exp $ + * $Id: distort.c,v 1.18 2002/07/23 20:16:36 sam Exp $ * * Authors: Samuel Hocevar * @@ -158,10 +158,10 @@ static int vout_Create( vout_thread_t *p_vout ) /* No method given in commandline. Look what method was requested in configuration system */ if( !(psz_method = psz_method_tmp - = config_GetPsz( p_vout, "distort_mode" )) ) + = config_GetPsz( p_vout, "distort-mode" )) ) { msg_Err( p_vout, "configuration variable %s empty, using 'wave'", - "distort_mode" ); + "distort-mode" ); p_vout->p_sys->i_mode = DISTORT_MODE_WAVE; } else {