1. 20 Sep, 2017 2 commits
    • Thomas Guillem's avatar
      input: extends vlc_readdir_helper_additem() · 4ce1905d
      Thomas Guillem authored
      Add a new parameter: psz_flatpath. If not NULL, readdir_helper_additem() will
      un-flatten the folder hierarchy. It will create an input item for each sub
      folders (separated by '/') of psz_nullpath.
      Example: a stream directory that have the following items:
       - "foo/bar/item1"
       - "foo/bar/item2"
      will output the following items while using this new parameter:
       - foo
         - bar
           - item1
           - item2
      This functionality can be used by "stream directory" modules that have a
      flattened folder hierarchy, like libarchive.
      Access modules should not need this functionality.
    • Thomas Guillem's avatar
      input: rename access_fsdir to vlc_readdir_helper · e4a403d7
      Thomas Guillem authored
      This helper can now be used by other modules like "stream directory".
  2. 23 Jul, 2017 1 commit
  3. 19 Jun, 2017 1 commit
  4. 21 Jul, 2016 1 commit
  5. 19 May, 2016 1 commit
    • Thomas Guillem's avatar
      access: re-refactor pf_readdir · 9109718b
      Thomas Guillem authored
      This commit changes pf_readdir callback to its original behavior. Accesses and
      streams now add items to a node.
      Archive stream_filters will now be able to add nodes to a node (when an archive
      has directory). This was not possible before.
      This commit also adds an access_fsdir helper to help fs accesses (file, smb,
      nfs, ftp, sftp) adding items to a node. These accesses need the same treatment
      that is now done by this helper:
       - hide hidden files or not (depending on "show-hiddenfiles" option)
       - skip some file extensions (depending on "ignore-filetypes" option)
       - sort items by type and alphabetically (depending on "directory-sort"
       - For a next commit: attach slaves to items
      The directory demux won't do these operations anymore for every access/stream.
      This commit doesn't change the interruptible state of the pf_readdir function,
      accesses/streams are still interruptible in the middle of a pf_readdir call.
      This partially reverts commit 88ffe158.
  6. 17 Apr, 2016 1 commit
    • Thomas Guillem's avatar
      input/item: factor input_item_t New*() functions · e49ee59a
      Thomas Guillem authored
      Remove "int options, const char *const *options, unsigned option_flags"
      arguments from every New() functions since these args are mainly unused. You
      now have to call input_item_AddOptions after input item creation to add
      Add input_item_net_type enum in order to avoid confusion between 2 int
      arguments: i_duration and i_net that could both be -1, 0 or > 0.
      Replace input_item_NewWithType and input_item_NewWithTypeExt with
      Add input_item_NewCard, input_item_NewDisc, input_item_NewStream,
      input_item_NewDirectory, input_item_NewFile MACRO. These MACROS avoid to use
      useless arguments for an item type (for example, it's useless to specify a
      duration for a directory type).
  7. 31 Dec, 2015 1 commit
  8. 29 Nov, 2015 1 commit
  9. 07 Nov, 2015 1 commit
  10. 05 Nov, 2015 3 commits
  11. 04 Nov, 2015 1 commit
  12. 01 Nov, 2015 1 commit
  13. 16 Jun, 2015 1 commit
  14. 04 Jun, 2015 1 commit
  15. 24 May, 2015 1 commit
  16. 20 May, 2015 4 commits
  17. 04 May, 2015 1 commit
  18. 25 Mar, 2015 1 commit
    • Thomas Guillem's avatar
      input: handle recursive parsing in preparser · 4455e6d2
      Thomas Guillem authored
      Add i_preparse_depth in input_item to handle how many level of sub items can be
      The "recursive" option is now moved from access/file to the playlist category.
      You can now abort a long local directory opening.
      NET items won't be parsed recursively since playlist_preparser_Push is not
      called with the META_REQUEST_OPTION_SCOPE_NETWORK argument.
      Fixes #13850
      Fixes #11921
      Fixes #13872
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
  19. 11 Sep, 2014 1 commit
  20. 07 Jul, 2014 2 commits
  21. 24 Jun, 2014 4 commits
  22. 29 Dec, 2013 1 commit
  23. 27 Oct, 2013 1 commit
  24. 26 Aug, 2013 2 commits
  25. 13 Jul, 2013 1 commit
  26. 05 Jun, 2013 1 commit
  27. 13 Nov, 2012 1 commit
    • Jean-Baptiste Kempf's avatar
      LGPL · fef27058
      Jean-Baptiste Kempf authored
      Re-license almost all the playback modules to LGPLv2.1+ with
      authorization from their respective contributors (230+)
      This includes:
       - access, codec, packetizers, demux
       - audio filters, audio mixers, audio output
       - video filters, video chroma, video output
       - text renderers
       - XML parser
       - ARM NEON and SSE2 optimisations (mostly for chromas and filters)
      Some modules are not concerned:
       - BDA and DShow access modules because Manol Manolov is AWOL
       - Real RTSP, because it is derived from Xine
       - x264 and t140 because they are encoders only
       - DLL Loader, because it is derived from MPlayer
       - DTS packetizer, because Jon Lech Johansen is AWOL
       - Shine and WMAfixed, because they are derived from Rockbox
       - Real demuxer, as it is derived from MPlayer and Wang Bo is AWOL
       - MPC demuxer, as Yavor Doganov is AWOL
       - Tivo demuxer, because it is derived from an MPlayer fork
       - Playlist demuxer, (WPL and ZPL parts missing), because suheaven is AWOL
       - iOS audio output and video display, because author refuses the license change
       - Equalizer and compressor, because Ronald Wright is AWOL
       - Mono, Headphone and Dolby, because author refuses the license change
       - hqdn3d and yadif, because they are from MPlayer/libavfilter
       - remoteosd, because it derives from RealVNC code
       - MMX optimisations, because Ollie Lho, from SiS, is AWOL
       - Rotate, because it depends on GPL motion
      Nota Bene:
       - Some modules depend on GPL-only libraries, a LGPL module does not mean
         that the resulting binary module will be LGPL.
         Libraries affected would include liba52, libdvdcss, libdvdnav, libdvdread,
         faad2, libdca, libmad, libmpeg2, libpostproc, SRC, sid, zvbi and probably others.
  28. 02 Sep, 2012 1 commit
  29. 20 Aug, 2012 1 commit