1. 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}"
    • Rémi Denis-Courmont's avatar
    • Rafaël Carré's avatar
  2. 18 Sep, 2007 1 commit
  3. 20 Aug, 2007 2 commits
  4. 09 Apr, 2007 1 commit
  5. 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 
      * 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 
      This commit has a 99% probability of breaking the build, 0.1% of killing
      your cat and 0% of getting you hot chicks.
  6. 21 Oct, 2006 1 commit
  7. 09 Oct, 2006 1 commit
  8. 31 Mar, 2006 1 commit
  9. 18 Feb, 2006 1 commit
  10. 13 Feb, 2006 1 commit
  11. 12 Jan, 2006 1 commit
  12. 09 Jul, 2005 1 commit
  13. 08 Jul, 2005 1 commit
  14. 10 Jun, 2005 1 commit
  15. 16 Dec, 2004 1 commit
  16. 27 Apr, 2004 1 commit
  17. 14 Feb, 2004 1 commit
    • Gildas Bazin's avatar
      · a9098e45
      Gildas Bazin authored
      * modules/demux/wav.c: started support for WAVEFORMATEXTENSIBLE (aka multichannel).
         support for float32 format.
      * include/codecs.h: added WAVEFORMATEXTENSIBLE structure.
      * modules/codec/araw.c: fixes.
  18. 06 Feb, 2004 1 commit
    • Gildas Bazin's avatar
      · ab728fe9
      Gildas Bazin authored
      * modules/codec/dts.c: fixes a buffer overflow with s/pdif.
      * modules/access/cdda.c, modules/audio_output/file.c: endianness fixes for WAV header.
  19. 03 Feb, 2004 1 commit
    • Gildas Bazin's avatar
      · d596c8e3
      Gildas Bazin authored
      * modules/audio_output/file.c: added --audiofile-channels=integer option to specify the number of channels wanted in the output file.
  20. 25 Jan, 2004 3 commits
  21. 05 Nov, 2003 1 commit
  22. 25 Oct, 2003 1 commit
    • Sam Hocevar's avatar
      * include/vlc_common.h: · 88991a5c
      Sam Hocevar authored
          + Removed u8, s8, u16 etc. for good.
        * ALL:
          + Replaced all occurrences of u8, s8, u16 etc. with uint8_t, int8_t, etc.
  23. 15 May, 2003 1 commit
  24. 20 Apr, 2003 1 commit
    • Gildas Bazin's avatar
      · a64cdbee
      Gildas Bazin authored
      * modules/audio_output/file.c: fixed a mismatch in a config name.
  25. 30 Mar, 2003 3 commits
  26. 10 Mar, 2003 1 commit
  27. 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
      * 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)
  28. 08 Feb, 2003 1 commit
    • Christophe Massiot's avatar
      * Fixed misc typos in strings, · 35a0bc34
      Christophe Massiot authored
      * Updated po files,
      * New --buggy-psi options, to supports streams which don't update the
      continuity counter in their PSI packets (walkenizes #sam).
  29. 11 Nov, 2002 1 commit
    • Gildas Bazin's avatar
      · 255b41ac
      Gildas Bazin authored
      * modules/audio_output/file.c: will write a WAV header by default. Can be
         disabled with --no-audiofile-wav.
      * modules/audio_filter/resampler/linear.c: disabled for now, until I actually
         manage to make it work without a problem.
  30. 20 Oct, 2002 1 commit
  31. 30 Sep, 2002 1 commit
  32. 18 Sep, 2002 1 commit
  33. 30 Aug, 2002 1 commit
    • Christophe Massiot's avatar
      aout3 API change : · 06996317
      Christophe Massiot authored
      pf_setformat disappears (it was never called independantly of Open). If
      the format needs to be changed, we will have Close/Open. This is much
      simpler than before. Please check that I didn't break some plug-ins.