Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 1 | diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c |
| 2 | index 0d4e7a1..a0d9c74 100644 |
| 3 | --- a/omx/gstomxvideodec.c |
| 4 | +++ b/omx/gstomxvideodec.c |
| 5 | @@ -1697,9 +1697,9 @@ gst_omx_video_dec_stop (GstVideoDecoder * decoder) |
| 6 | g_cond_broadcast (&self->drain_cond); |
| 7 | g_mutex_unlock (&self->drain_lock); |
| 8 | |
| 9 | - gst_omx_component_get_state (self->dec, 5 * GST_SECOND); |
| 10 | + gst_omx_component_get_state (self->dec, 0); |
| 11 | #if defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_GL) |
| 12 | - gst_omx_component_get_state (self->egl_render, 1 * GST_SECOND); |
| 13 | + gst_omx_component_get_state (self->egl_render, 0); |
| 14 | #endif |
| 15 | |
| 16 | gst_buffer_replace (&self->codec_data, NULL); |