Help figuring out why n_planes assertion failed when playing HEVC video with gst-play on raspberry pi 5

Hey.

I’m currently working on getting gstreamer up and running on a linux bsp made with yocto.
I got HEVC decoding working with v4l2codec and the video seems to be playing fine on the HDMI display.
The video is “Test Jellyfin 1080p HEVC 8bit 15M.mp4” from Jellyfin Repository
When I play it with gst-play-1.0 Test\ Jellyfin\ 1080p\ HEVC\ 8bit\ 15M.mp4 it shows up fine on my display but I also get a lot of critical messages in the terminal while the video is playing.

(gst-play-1.0:1065): GStreamer-Video-CRITICAL **: 11:59:37.693: gst_video_frame_map_id: assertion 'info->finfo->n_planes == meta->n_planes' failed

Doing a bit of debugging and printing out the values from n_planes i get
info->finfo->n_planes: 0 == meta->n_planes: 2

I’m a bit lost on why this happens and hope someone here might be able to help.