-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFmpeg: Update v4l2 memory to memory DRM_PRIME support
- this brings our v4l2 patches in line with patches 15 and 16 from Aman Gupta's last patch set submitted to FFmpeg (https://ffmpeg.org/ pipermail/ffmpeg-devel/2019-September/thread.html#249359) - adds ifdeffery to fix build when libdrm is not available - uses correct V4L2 memory type for output and capture contexts (athough this doesn't seem to make any noticeable difference on the Pi 4 when tested) - pix format negotiation is largely shifted to v4l2_context - sw_pix_fmt should now be set properly (allowing simplification of MythEGLDMABUG code) - NOTE: there was an issue with the v4l2_buffers.c code that broke playback - the switch in v4l2_get_drm_frame has been amened to reference sw_pix_fmt (av_pix_fmt is always AV_PIX_FMT_PRIME)
- Loading branch information
1 parent
d0f923b
commit a1e378a
Showing
6 changed files
with
183 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.