Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 0d2ad639e6158c8023c157e206ef3ff7abdc089c Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Enrique=20Oca=C3=B1a=20Gonz=C3=A1lez?= <eocanha@igalia.com> |
| 3 | Date: Fri, 4 Dec 2015 18:39:59 +0100 |
| 4 | Subject: [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 | |
| 7 | --- |
| 8 | omx/gstomxvideodec.c | 5 ++++- |
| 9 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | Index: gst-omx-1.14.0/omx/gstomxvideodec.c |
| 12 | =================================================================== |
| 13 | --- gst-omx-1.14.0.orig/omx/gstomxvideodec.c |
| 14 | +++ gst-omx-1.14.0/omx/gstomxvideodec.c |
| 15 | @@ -2214,7 +2214,9 @@ gst_omx_video_dec_disable (GstOMXVideoDe |
| 16 | return FALSE; |
| 17 | if (gst_omx_port_wait_buffers_released (out_port, |
| 18 | 1 * GST_SECOND) != OMX_ErrorNone) |
| 19 | +#if !(defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_GL)) |
| 20 | return FALSE; |
| 21 | +#endif |
| 22 | if (gst_omx_video_dec_deallocate_output_buffers (self) != OMX_ErrorNone) |
| 23 | return FALSE; |
| 24 | if (gst_omx_port_wait_enabled (out_port, 1 * GST_SECOND) != OMX_ErrorNone) |