Skip to content
Snippets Groups Projects
  1. Jan 29, 2024
  2. Jan 26, 2024
    • Leo Izen's avatar
      vulkan/gpu_buf: avoid segfault with unusually aligned size_base · 741b604c
      Leo Izen authored
      
      This patch prevents a segmentation fault that occurs when size_base is
      not a multiple of max_transfer. If size_base is larger than the
      max_transfer value but is not a multiple of it, the last iteration of
      the loop will transfer too much. It needs to transfer how much is
      remaining of size_base.
      
      Note that the PL_MIN behaves identically when size_base is less than
      max_transfer, because xfer will never be nonzero in that scenario.
      
      Signed-off-by: default avatarLeo Izen <leo.izen@gmail.com>
      741b604c
  3. Jan 10, 2024
  4. Dec 04, 2023
  5. Nov 30, 2023
  6. Nov 22, 2023
  7. Nov 18, 2023
  8. Nov 17, 2023
  9. Nov 13, 2023
  10. Nov 12, 2023
  11. Nov 06, 2023
  12. Nov 05, 2023
  13. Nov 03, 2023
    • Dudemanguy's avatar
      renderer: don't assert on a failed icc profile · 25103042
      Dudemanguy authored
      At least for mpv, if we have a playlist of images, fail opening the ICC
      of one image, go forward and then back to the image with the ICC
      failure, it'll hit this assertion failure. Not so nice. If there's no
      ICC information, it just does nothing so display the image as usual.
      25103042
  14. Oct 31, 2023
    • Niklas Haas's avatar
      utils/frame_queue: add PTS drift compensation · de6d57f0
      Niklas Haas authored
      By default, allows for correcting drift/jitter of up to 1 ms per frame,
      in line with expected jitter from e.g. Matroska sources. This is enough
      to cover the mismatch between 23.976 Hz and 24.000 Hz, but not the
      mismatch between 24 and 25 Hz (which is just over 1ms per frame).
      
      There are two use cases in which this code will be useful:
      
      1. Displaying 23.976 Hz video files on e.g. 60.000 Hz monitor (or any
         other near-miss), in display-timed mode. Given the usual 3:2
         cadence, after five vsyncs (three source frames), we will have:
      
         Vsync (wallclock) PTS = 83.33333333333334
         Frame PTS = 83.41675008341676
      
         This is a difference of 0.1ms, and will therefore be fixed by this
         code, adjusting all future wallclock PTS up by the cumulative drift
         (0.1ms).
      
      2. Displaying any video with some amount of jitter on the PTS
         measurements. This avoids some situation where we have frames with
         weights 0.999 and 0.001 for example. Normally this should get rounded
         away by the frame mixing code anyway, but it's better to have an
         exact match.
      de6d57f0
  15. Oct 30, 2023
  16. Oct 29, 2023
  17. Oct 22, 2023
  18. Oct 21, 2023
  19. Oct 19, 2023
  20. Oct 17, 2023
Loading