mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
waylandsink: Only try SHM for single memory buffer
https://bugzilla.gnome.org/show_bug.cgi?id=790057
This commit is contained in:
parent
51bb235cc6
commit
9bbd5ef722
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ gst_wayland_sink_show_frame (GstVideoSink * vsink, GstBuffer * buffer)
|
|||
}
|
||||
|
||||
if (!wbuf && gst_wl_display_check_format_for_shm (sink->display, format)) {
|
||||
if (gst_is_fd_memory (mem)) {
|
||||
if (gst_buffer_n_memory (buffer) == 1 && gst_is_fd_memory (mem)) {
|
||||
wbuf = gst_wl_shm_memory_construct_wl_buffer (mem, sink->display,
|
||||
&sink->video_info);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue