gtk/modules/media
Sebastian Dröge 6e108d310a gtkmediafile: Only unmap the GstVideoFrame in the GBytes destroy notify
The memory pointed to by GstVideoFrame::plane_data becomes invalid after
unmapping causing the GBytes to point at some random memory if the
unmapping is not deferred until its destroy notify.

When the GStreamer buffer is backed by normal system memory this is not
a problem but if it is backed by e.g. an OpenGL texture, dmabuf or some
other hardware-specific memory this will otherwise cause interesting
problems.
2020-12-26 14:26:23 +02:00
..
gtkffmediafile.c ffmediafile: Add fixes for recent cflags changes 2020-06-03 16:23:49 +02:00
gtkffmediafileprivate.h gtk: Add ffmpeg implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
gtkgstmediafile.c gtkmediafile: Use cubic volume function 2020-10-27 16:32:53 +01:00
gtkgstmediafileprivate.h gtk: Add a GStreamer implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
gtkgstpaintable.c paintable: Introduce gdk_paintable_new_empty() 2018-04-05 14:56:39 +02:00
gtkgstpaintableprivate.h gtk: Add a GStreamer implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
gtkgstsink.c gtkmediafile: Only unmap the GstVideoFrame in the GBytes destroy notify 2020-12-26 14:26:23 +02:00
gtkgstsinkprivate.h gtk: Add a GStreamer implementation of GtkMediaFile 2018-03-18 21:01:23 +01:00
meson.build build: Use a consistent style for Meson files 2020-12-15 12:46:59 +00:00