mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
allocators: drmdumb: Fix bpp value for P010
P010 uses 16 bits per pixel, with least significant being padding. This code worked with Intel display driver since they roundup that value, but does not work with the generic DRM helpers which also support NV15, which does not have any padding. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7596>
This commit is contained in:
parent
1250f6fc7e
commit
a0da8c6b53
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ gst_drm_bpp_from_drm (guint32 drm_fourcc)
|
|||
bpp = 8;
|
||||
break;
|
||||
case DRM_FORMAT_P010:
|
||||
bpp = 10;
|
||||
bpp = 16;
|
||||
break;
|
||||
case DRM_FORMAT_UYVY:
|
||||
case DRM_FORMAT_YUYV:
|
||||
|
|
Loading…
Reference in a new issue