Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • VLC VLC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,725
    • Issues 3,725
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 224
    • Merge requests 224
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • VLCVLC
  • Merge requests
  • !3147

dav1d: Don't always immediately drain all pending frames

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian Dröge requested to merge slomo/vlc:dav1d-frame-threading into master Jan 23, 2023
  • Overview 4
  • Commits 1
  • Pipelines 2
  • Changes 1

By only draining up to a single frame per dav1d_send_data() call, up to max_frame_delay frames are queued up in the decoder and decoded in parallel. Previously the code would always drain all frames immediately, which made frame threading not very useful.

In addition this also works around a deadlock in dav1d on certain streams.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dav1d-frame-threading

VideoLAN code repository instance