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