1From cf6cf2060c5a7a7ddc0396a0c20c234fc56c79b6 Mon Sep 17 00:00:00 2001 2From: Andrei Gherzan <andrei@gherzan.ro> 3Date: Tue, 28 May 2019 18:02:24 +0100 4Subject: [PATCH] Don't abort gst_omx_video_dec_set_format() if there's a 5 timeout releasing the buffers taken by the egl_render out port 6 7From 0d2ad639e6158c8023c157e206ef3ff7abdc089c Mon Sep 17 00:00:00 2001 8From: =?UTF-8?q?Enrique=20Oca=C3=B1a=20Gonz=C3=A1lez?= 9<eocanha@igalia.com> 10Date: Fri, 4 Dec 2015 18:39:59 +0100 11Subject: [PATCH] Don't abort gst_omx_video_dec_set_format() if there's a 12timeout releasing the buffers taken by the egl_render out port 13 14Upstream-Status: Pending 15Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 16--- 17 omx/gstomxvideodec.c | 2 ++ 18 1 file changed, 2 insertions(+) 19 20diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c 21index ba5304f..8bd5d3d 100644 22--- a/omx/gstomxvideodec.c 23+++ b/omx/gstomxvideodec.c 24@@ -2229,7 +2229,9 @@ gst_omx_video_dec_disable (GstOMXVideoDec * self) 25 return FALSE; 26 if (gst_omx_port_wait_buffers_released (out_port, 27 1 * GST_SECOND) != OMX_ErrorNone) 28+#if !(defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_GL)) 29 return FALSE; 30+#endif 31 if (!gst_omx_video_dec_deallocate_output_buffers (self)) 32 return FALSE; 33 if (gst_omx_port_wait_enabled (out_port, 1 * GST_SECOND) != OMX_ErrorNone) 34-- 352.17.1 36 37