1. 21 May, 2008 1 commit
  2. 08 May, 2008 1 commit
  3. 01 May, 2008 1 commit
  4. 14 Apr, 2008 2 commits
  5. 23 Jan, 2008 1 commit
  6. 16 Jan, 2008 3 commits
    • Damien Fouilleul's avatar
      vlc security: As i've seen very little improvement on that front, i've decided... · 658b4f83
      Damien Fouilleul authored
      vlc security: As i've seen very little improvement on that front, i've decided to check in my take on handling the problem of managing harmful options. I'm pretty sure this is going to be very controversial, but I think my approach is quite simple and yet very effective Anyway, my approach makes the following assumptions:
      
      - most vlc options are considered safe, only a handful are particularily unsafe and need be declared as such in their definition (they mostly deal with writing to an output file or URL)
      - unsafe options are only considered potentially harmful when used as an input option, ie. the ':option' format. Configuration options are always considered safe 'i.e --option' 
      - unsafe options are associated with a global security policy, which dictates how these are handled. At the moment, The policy can be either block, allow or prompt, and is set using the '--security-policy' option (which itself is considered unsafe ;)
      
      the policy can be set by the user at the command line or in the preferences, it curently defaults to prompt, which is the desirable state for deskop use. However, it can be overriden depending on context, for example, the activex and mozilla will force the security-policy to block regardless of preference settins.
      
      the code is a bit rough at the moment, but i will optimize/clean it up if the dev community this approach is worth keeping.
      
      try the following example, and you'll see quickly what i mean:
      
      ./vlc -vvv <a mrl> :sout=#transcode{vcodec=mp1v,vb=1024,acodec=mpga,ab=192}:standard{mux=ts,dst=vlc-output.ts,access=file}"
      
      Enjoy,
         Damien
      
      
      658b4f83
    • Rémi Denis-Courmont's avatar
    • Rafaël Carré's avatar
      806cf516
  7. 30 Sep, 2007 1 commit
    • Laurent Aimar's avatar
      Added const wheen needed for stream_Peek (demuxer/access) · 3f07af6a
      Laurent Aimar authored
      Made demux2_IsPathExtension case insensitive.
      Used demux2_IsPathExtension/p_demux->b_force when appropriate
      Fixed a regression in flac demuxer (segfault when reading meta data)
      Added a VLC_UNUSED(x) macro to avoid seeing ugly (void)x around the code.
      Improved a bit a few vlc_common.h macro (do {} while(0))
      3f07af6a
  8. 03 Sep, 2007 1 commit
  9. 20 Aug, 2007 2 commits
  10. 26 Nov, 2006 1 commit
    • Clément Stenac's avatar
      A bit of headers cleanup · d3fe7f28
      Clément Stenac authored
      * Headers in include must contain the structures and prototypes needed
        by the plugins and should be named vlc_*.
      * Headers in include/vlc must contain the structures and prototypes
        needed by external libvlc clients
      
      * Moved and renamed some things in headers. 
         - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
         - Removed snapshot.h (merged in vlc_vout.h)
         - Removed vlc_spu.h (merged in vlc_osd.h)
         - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
         - Moved all internal headers to src
         - Merged vlc_video.h and video_output.h and move private things to src
         - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
           (meta headers for use in modules, and often implying too large 
           dependencies)
      * Removed some useless dependencies
      * Unexported a bunch of functions and structures used only in src/
        (--> Still some work here)
      * Finally made input_thread_t and input_source_t (mostly) private. 
        Added input_GetItem to fetch the input_item of an input_thread
      * Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
        prefix
      
      This commit has a 99% probability of breaking the build, 0.1% of killing
      your cat and 0% of getting you hot chicks.
      d3fe7f28
  11. 12 Nov, 2006 1 commit
  12. 11 Mar, 2006 1 commit
  13. 18 Feb, 2006 1 commit
  14. 13 Feb, 2006 1 commit
  15. 12 Jan, 2006 1 commit
  16. 18 Aug, 2005 1 commit
  17. 09 Jul, 2005 1 commit
  18. 08 Jul, 2005 1 commit
  19. 11 Mar, 2005 1 commit
  20. 11 Dec, 2004 1 commit
    • Clément Stenac's avatar
      Improvements to preferences · a90a19a6
      Clément Stenac authored
      * Each module can declare a "human-readable short name" with set_name
      * Modules are sorted by category (set_category, set_subcategory).
        Modules configs can be separated by set_section()
      * Separated audio-filter and audio-visual
      * Separated extraintf and control
      * New command and widget : add_module_list() for comma-separated modules
      * Vfilters now use "," as separator
      a90a19a6
  21. 03 Sep, 2004 1 commit
  22. 28 Jun, 2004 1 commit
  23. 25 Jan, 2004 1 commit
  24. 05 Nov, 2003 1 commit
    • Gildas Bazin's avatar
      · 48190fd3
      Gildas Bazin authored
      * src/input/input.c: honor the --demux config option (will be overriden if demux is specified in the MRL).
         I'm not exactly sure this is wise as some users will surely fuck-up their preferences and force a specific demux...
         but this also allows me to specifiy the demuxdump demux with an input option (very handy to include the demuxdump option in the streamout gui dialogs).
      * src/misc/modules.c: changed module_Need() to use var_Get() instead of config_Get.
      
      * modules/gui/wxwindows/*: moved the demuxdump option from the open dialog to the streamout dialog.
      48190fd3
  25. 07 Sep, 2003 1 commit
  26. 15 May, 2003 1 commit
  27. 30 Mar, 2003 2 commits
    • Gildas Bazin's avatar
      · a1e81377
      Gildas Bazin authored
      * modules/*: sanitization of the modules description strings.
      a1e81377
    • Gildas Bazin's avatar
      · 17a31fd8
      Gildas Bazin authored
      * include/configuration.h: added the add_directory() config macro.
      * modules/gui/wxwindows/preferences.cpp: support for add_string_from_list().
      * ALL: changed some add_string() config options to add_file().
      17a31fd8
  28. 29 Mar, 2003 1 commit
    • Gildas Bazin's avatar
      · c32ee2a6
      Gildas Bazin authored
      * modules/audio_filter/channel_mixer/headphone.c, src/libvlc.h:
         moved the headphone-dim config option to the headphone plugin.
      * modules/demux/demuxdump.c: the demuxdump-file config optin now has a default value.
      * src/libvlc.c: fixed the extraintf config option not to spawn an interface plugin when an invalid name has been given.
      c32ee2a6
  29. 20 Feb, 2003 1 commit
    • Sigmund Augdal Helberg's avatar
      * include/configuration.h: added a new flag to the configuration stucture to · 5a13b475
      Sigmund Augdal Helberg authored
      indicate wether it is an "advanced" option or not. The goal with this is to
      hide the user from all the strange options that very seldom needs to be
      changed. added an extra argument to all the add_* macros to indicate wether
      the item is advanced or not.
      * src/libvlc.h: added an "show advanced options" config option default
      disabled
      * src/libvlc.c: the advanced options are not listed by vlc --help and
      friends unless --advanced is used
      * modules/gtk/preferences.c: the gtk/gnome preferences dialog don't show
      advanced options unless advanced is set
      all: set the advanced flag to VLC_FALSE or VLC_TRUE for all options, by
      using some common sense. Please check and correct
      
      note: All interfaces should still work like they used to, see the change in
      modules/gtk/preferences.c to find out how to "hide" options.
      
      second note: I think I've changed all the modules, but I could not test
      everyone for compilation, expect some broken modules (the fix is to add ",
      VLC_TRUE" as last argument to the add_* I forgot)
      5a13b475
  30. 02 Feb, 2003 1 commit
  31. 25 Jan, 2003 1 commit
  32. 18 Dec, 2002 1 commit
  33. 13 Nov, 2002 1 commit
  34. 04 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./modules/*: moved plugins to the new tree. Yet untested builds include · 19ea8feb
      Sam Hocevar authored
          waveout, directx, qnx, beos, win32, macosx, and the AltiVec modules.
        * ALL: removed mention of AC3 in favour of A52.
        * ./configure.in, ./Makefile*: modules can now be built deeper than 1
          directory. As a consequence, the build is even slower (but I'm fixing
          this) and make clean doesn't work anymore.
      19ea8feb
  35. 31 Jul, 2002 1 commit