]> git.sesse.net Git - vlc/commitdiff
* ./mozilla/Makefile: fixed dependencies on .h files.
authorSam Hocevar <sam@videolan.org>
Tue, 23 Jul 2002 20:16:36 +0000 (20:16 +0000)
committerSam Hocevar <sam@videolan.org>
Tue, 23 Jul 2002 20:16:36 +0000 (20:16 +0000)
  * ./plugins/filter/distort.c: fixed a typo in option names.

mozilla/Makefile
plugins/filter/distort.c

index f9d4dcc9416fa34b75f87153f180c41eb4944e4f..6e8005686bbb34d8eaa584381f9bae4b113f1842 100644 (file)
@@ -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 $@
 
index e96073653ab505bcea85d12671f1e4571df55f93..869ed588455f68b2051574a09f575702c8a3d771 100644 (file)
@@ -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 <sam@zoy.org>
  *
@@ -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 {