1. 11 Nov, 2016 1 commit
  2. 10 Oct, 2016 2 commits
  3. 28 Sep, 2016 1 commit
    • Thomas Guillem's avatar
      preparser: fix races · f3abad2d
      Thomas Guillem authored
      Fix a race between InputEvent() and input_Start(), and when cancelling a
      request that is not started by input_Start() yet.
      
      Thanks to Filip for pointing me out these issues.
      f3abad2d
  4. 27 Sep, 2016 2 commits
  5. 05 Sep, 2016 1 commit
  6. 01 Sep, 2016 1 commit
    • Filip Roséen's avatar
      playlist/item: redirect request following deletion of node · 898816a3
      Filip Roséen authored
      :: Introduction
      ----------------------------------------------------------------------
      
      When we are dealing with a flat playlist, a request to add children to
      an item results in that item being deleted, and its children being
      inserted into the parent of said item. This is done in order to not
      introduce any nested levels in the tree.
      
      What this further means is that /if/ the item that is effectivelly removed is
      scheduled for playback prior to the removal, the playlist might try to play an
      entity which does not exist anymore; which is problematic for several reasons.
      
      Note: The problem does not exist when --playlist-tree is enabled since
            the item on which children should be attached is then preserved.
      
      :: Solution
      ----------------------------------------------------------------------
      
      The solution to the previously described problem is to "redirect" any
      pending request that refers to the deleted entity, so that it instead
      refers to its first child (if any).
      
      closes #17183
      Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
      898816a3
  7. 21 Jul, 2016 1 commit
  8. 30 Jun, 2016 1 commit
  9. 18 Jun, 2016 1 commit
  10. 14 Jun, 2016 1 commit
  11. 10 Jun, 2016 1 commit
  12. 07 Jun, 2016 1 commit
  13. 05 Jun, 2016 5 commits
  14. 31 May, 2016 1 commit
  15. 10 May, 2016 2 commits
  16. 18 Apr, 2016 1 commit
  17. 17 Apr, 2016 4 commits
    • Thomas Guillem's avatar
      01d3be26
    • Thomas Guillem's avatar
      preparser: send PreparseEnded when input can't be created · dfa111dc
      Thomas Guillem authored
      It's a not common case, input_CreatePreparser fails only in case of memory
      allocation error.
      dfa111dc
    • Thomas Guillem's avatar
      preparser: don't send vlc_InputItemPreparsedChanged in case of failure · d68541a9
      Thomas Guillem authored
      The vlc_InputItemPreparseEnded event should be enough.
      
      There is a compat code inside libvlc in order to don't break old API that are
      waiting for a libvlc_MediaParsedChanged, even in case of error.
      d68541a9
    • 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
      options.
      
      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
      input_item_NewExt.
      
      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).
      e49ee59a
  18. 13 Apr, 2016 1 commit
  19. 06 Apr, 2016 1 commit
    • Thomas Guillem's avatar
      playlist/fetcher: fix vlc_interrupt assert · 0baad719
      Thomas Guillem authored
      The fetcher thread is not attached, and is not joined (and can't be joined).
      When playlist_fetcher_Delete() wait for the thread to finish (b_live == false),
      we can't be sure that the thread really exited, and that the thread interrupt
      TSD is destroyed. To fix this issue, unset the interrupt context manually from
      the Thread just before it's terminated.
      
      This problem was brought by 7f8d972a and was
      breaking some tests (non systematic).
      0baad719
  20. 04 Apr, 2016 1 commit
  21. 02 Apr, 2016 2 commits
  22. 29 Feb, 2016 1 commit
  23. 28 Oct, 2015 2 commits
  24. 20 Oct, 2015 1 commit
  25. 28 Jul, 2015 1 commit
  26. 14 Jun, 2015 2 commits
  27. 05 Jun, 2015 1 commit