Skip to content

Fix ffmpeg-vaapi.patch for updated meson-7.1 branch#8

Open
graemeg wants to merge 1 commit into
nowrep:masterfrom
graemeg:fixes
Open

Fix ffmpeg-vaapi.patch for updated meson-7.1 branch#8
graemeg wants to merge 1 commit into
nowrep:masterfrom
graemeg:fixes

Conversation

@graemeg
Copy link
Copy Markdown

@graemeg graemeg commented May 7, 2026

The upstream meson-ports/ffmpeg meson-7.1 branch diverged, breaking patch application in two ways:

  • libavcodec_optional_deps changed from a single line to a multi-line block, causing hunk can we please get install instructions #2 to fail entirely.
  • A bug in the new branch causes a crash when vaapi=enabled and xlib=disabled: the precondition loop calls conf.get(precondition) without a default, but xlib_x11 is never added to conf when xlib is disabled. Fixed by using conf.get(precondition, 0) consistently.

The upstream meson-ports/ffmpeg meson-7.1 branch diverged, breaking
patch application in two ways:

- libavcodec_optional_deps changed from a single line to a multi-line
  block, causing hunk nowrep#2 to fail entirely.
- A bug in the new branch causes a crash when vaapi=enabled and
  xlib=disabled: the precondition loop calls conf.get(precondition)
  without a default, but xlib_x11 is never added to conf when xlib is
  disabled. Fixed by using conf.get(precondition, 0) consistently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant