[mythtv-commits] [MythTV/mythtv] a1e378: FFmpeg: Update v4l2 memory to memory DRM_PRIME sup...
Mark Kendall
noreply at github.com
Sun Jul 26 10:19:54 UTC 2020
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: a1e378ad431c74c029fb4aba0bc34194838672e1
https://github.com/MythTV/mythtv/commit/a1e378ad431c74c029fb4aba0bc34194838672e1
Author: Mark Kendall <mark.kendall at gmail.com>
Date: 2020-07-26 (Sun, 26 Jul 2020)
Changed paths:
M mythtv/external/FFmpeg/libavcodec/v4l2_buffers.c
M mythtv/external/FFmpeg/libavcodec/v4l2_context.c
M mythtv/external/FFmpeg/libavcodec/v4l2_context.h
M mythtv/external/FFmpeg/libavcodec/v4l2_m2m.c
M mythtv/external/FFmpeg/libavcodec/v4l2_m2m.h
M mythtv/external/FFmpeg/libavcodec/v4l2_m2m_dec.c
Log Message:
-----------
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)
More information about the mythtv-commits
mailing list