1. 11 Apr, 2022 1 commit
    • Oneric's avatar
      codec: libass: pass storage size to libass · 02ba1230
      Oneric authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      Due to a quirk in the ASS format some tags do depend on the exact
      storage size of the video not just the pixel aspect ratio, so tell
      libass via ass_set_storage_size to achieve correct rendering.
      
      For ASS, storage size refers to the size the video is encoded in (stored
      at) with codec-level crop applied; further transforms like e.g.
      anamorphic de-squeezing or container-level crop must not be applied.
      This matches the used fmt_src values despite them being named
      visible_{width,height} and the existing PAR calculation already relies
      on this.
      
      Fixes videolan/vlc#26634
      
      (cherry picked from commit 2608eb5c)
      02ba1230
  2. 09 Apr, 2022 5 commits
  3. 04 Apr, 2022 1 commit
  4. 01 Apr, 2022 5 commits
  5. 31 Mar, 2022 6 commits
  6. 29 Mar, 2022 2 commits
  7. 26 Mar, 2022 1 commit
    • Romain Vimont's avatar
      playlist: temporize on EOS bursts · c0bb3d7b
      Romain Vimont authored and Rémi Denis-Courmont's avatar Rémi Denis-Courmont committed
      A mechanism was implemented to temporize on consecutive input errors, to
      mitigate infinite busy loops (see commit
      d0662265).
      
      Although it avoided the most common issues, this mechanism was not
      triggered for other problematic cases:
       - empty inputs;
       - inputs with unreported errors from demuxers.
      
      Therefore, to encompass these other cases, consider the number of
      consecutive stops in a small period of time instead of relying on
      reported errors:
       - if a playback end occurs less than 250ms after the previous one, then
         increment the EOS burst count;
       - when more than 4 EOS burst count occur successively, start
         temporizing:
           - 100ms for the 5th
           - 200ms for the 6th
           - 400ms for the 7th
           - 800ms for the 8th
           - 1.6s for the 9th
           - 3.2s for the following
      
      Fixes #5901
      Fixes #26733
      Refs vlc4/e759db90
      c0bb3d7b
  8. 25 Mar, 2022 7 commits
  9. 23 Mar, 2022 12 commits