mpv/video
Jonas Karlman 84c18f6b96 drm_prime: fix use of formats with modifiers
Similar to handles the modifiers must be supplied for each plane of the
format or a framebuffer cannot be created.

Use the format_modifier tied to the object used for the plane to fix use
of formats with modifiers.

Also fix the improper use of the DRM_MODE_FB_MODIFIERS-flag for formats
without modifiers.

This fixes playback of videos decoded by e.g. rpivid into a NV12 format
using SAND128 modifer on RPi using the drmprime-overlay interop.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2024-08-11 08:22:59 -07:00
..
decode video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
filter video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
out drm_prime: fix use of formats with modifiers 2024-08-11 08:22:59 -07:00
csputils.c
csputils.h
cuda.c
d3d.c
d3d.h
drmprime.c
fmt-conversion.c
fmt-conversion.h
hwdec.c video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
hwdec.h video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
image_loader.c
image_loader.h
image_writer.c
image_writer.h
img_format.c
img_format.h
mp_image.c
mp_image.h
mp_image_pool.c
mp_image_pool.h
repack.c
repack.h
sws_utils.c
sws_utils.h
vaapi.c
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
zimg.c
zimg.h