Skip to content

fix(recipes): keep ffmpeg --disable-everything with HW accel flags - #3385

Open
r3wretrhy wants to merge 1 commit into
kivy:developfrom
r3wretrhy:fix/ffmpeg-disable-everything-3382
Open

r3wretrhy wants to merge 1 commit into
kivy:developfrom
r3wretrhy:fix/ffmpeg-disable-everything-3382

Conversation

@r3wretrhy

Copy link
Copy Markdown

The ffmpeg recipe set flags = ['--disable-everything'] then immediately reassigned flags to the mediacodec/jni list, so configure no longer started from an empty codec set (issue #3382).

Keep both: start from --disable-everything, then enable the Android hardware acceleration flags. Extracted to get_base_configure_flags() so the unit test can cover the invariant without a full recipe build.

Fixes #3382

Test plan

  • pytest tests/recipes/test_ffmpeg.py — 1 passed

The mediacodec/jni enable list used assignment and dropped the
--disable-everything baseline, so configure no longer started from an
empty codec set (issue kivy#3382).
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.

bug: recipes: ffmpeg: hardware acc flags override --disable-everything flag

1 participant