Commit 2bb37b36 authored by Committed by Nicolas Dufresne
glupload: dmabuf: be explicit about gl formats used
Rather then letting gst_gl_memory_setup_buffer guess the GL format used for an eglimage after importing a dmabuf be explicit about it. This fixes issues where dmabuf import may have used another format then gst_gl_format_from_video_info would guess on the basis of the available GL extensions. In particular on etnaviv the gst_gl_format_from_video_info would assuming a luminance + alpha GL format is used for YUY2, but the dmabuf import will always use RG88. Which causes images to end up somewhat pink when displayed on the screen.
Showing with 5 additions and 2 deletions