1From 1c348f33faf0f1296fbc880e8ff49b4c6f394af0 Mon Sep 17 00:00:00 2001
2From: Jeffy Chen <jeffy.chen@rock-chips.com>
3Date: Wed, 18 Mar 2020 10:12:31 +0800
4Subject: [PATCH 10/14] glupload: dmabuf: prefer DirectDmabufExternal uploader
5
6Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
7---
8 gst-libs/gst/gl/gstglupload.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c
12index 2227240..39be33a 100644
13--- a/gst-libs/gst/gl/gstglupload.c
14+++ b/gst-libs/gst/gl/gstglupload.c
15@@ -2234,8 +2234,8 @@ static const UploadMethod _nvmm_upload = {
16
17 static const UploadMethod *upload_methods[] = { &_gl_memory_upload,
18 #if GST_GL_HAVE_DMABUF
19-  &_direct_dma_buf_upload,
20   &_direct_dma_buf_external_upload,
21+  &_direct_dma_buf_upload,
22   &_dma_buf_upload,
23 #endif
24 #if GST_GL_HAVE_VIV_DIRECTVIV
25--
262.20.1
27
28