Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | From 21f776bff596bc0bd09708efa6497f8bdcd065c0 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 13 Feb 2016 11:42:29 -0800 |
| 4 | |
| 5 | --- |
Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 6 | Upstream-Status: Pending |
| 7 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | omx/gstomxvideodec.c | 4 ++-- |
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 | |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 11 | diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 12 | index c4dc33f..ba5304f 100644 |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 13 | --- a/omx/gstomxvideodec.c |
| 14 | +++ b/omx/gstomxvideodec.c |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 15 | @@ -2021,9 +2021,9 @@ gst_omx_video_dec_stop (GstVideoDecoder * decoder) |
Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 16 | g_cond_broadcast (&self->drain_cond); |
| 17 | g_mutex_unlock (&self->drain_lock); |
| 18 | |
| 19 | - gst_omx_component_get_state (self->dec, 5 * GST_SECOND); |
| 20 | + gst_omx_component_get_state (self->dec, 0); |
| 21 | #if defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_GL) |
| 22 | - gst_omx_component_get_state (self->egl_render, 1 * GST_SECOND); |
| 23 | + gst_omx_component_get_state (self->egl_render, 0); |
| 24 | #endif |
| 25 | |
| 26 | gst_buffer_replace (&self->codec_data, NULL); |