mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
gldownload: warn on fallback from DMABuf to system memory
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8013>
This commit is contained in:
parent
85969fdaa7
commit
2209d4382f
1 changed files with 5 additions and 2 deletions
|
@ -1417,8 +1417,11 @@ gst_gl_download_element_prepare_output_buffer (GstBaseTransform * bt,
|
|||
ret = gst_base_transform_update_src_caps (bt, src_caps);
|
||||
gst_caps_unref (src_caps);
|
||||
|
||||
if (!ret) {
|
||||
GST_ERROR_OBJECT (bt, "DMABuf exportation didn't work and system "
|
||||
if (ret) {
|
||||
GST_WARNING_OBJECT (bt, "DMABuf export didn't work. Falling back to "
|
||||
"system memory.");
|
||||
} else {
|
||||
GST_ERROR_OBJECT (bt, "DMABuf export didn't work and system "
|
||||
"memory is not supported.");
|
||||
return GST_FLOW_NOT_NEGOTIATED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue