mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
glimagesink: Show error when video frame is not mapped.
Adds more meaningful error than "Failed to convert multiview video buffer", which is always used when prepare_next_buffer() fails in gst_glimage_sink_prepare(). https://bugzilla.gnome.org/show_bug.cgi?id=743345
This commit is contained in:
parent
376b1eb262
commit
dbcea228b2
1 changed files with 1 additions and 0 deletions
|
@ -1407,6 +1407,7 @@ prepare_next_buffer (GstGLImageSink * glimage_sink)
|
|||
if (!gst_video_frame_map (&gl_frame, info, next_buffer,
|
||||
GST_MAP_READ | GST_MAP_GL)) {
|
||||
gst_buffer_unref (next_buffer);
|
||||
GST_ERROR ("Failed to map video frame.");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue