summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.10/0003-no-timeout-on-get-state.patch
blob: 0a0050de7d72f0e5038c00cb9a04d13e2992f5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index 0d4e7a1..a0d9c74 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -1697,9 +1697,9 @@ gst_omx_video_dec_stop (GstVideoDecoder * decoder)
   g_cond_broadcast (&self->drain_cond);
   g_mutex_unlock (&self->drain_lock);
 
-  gst_omx_component_get_state (self->dec, 5 * GST_SECOND);
+  gst_omx_component_get_state (self->dec, 0);
 #if defined (USE_OMX_TARGET_RPI) && defined (HAVE_GST_GL)
-  gst_omx_component_get_state (self->egl_render, 1 * GST_SECOND);
+  gst_omx_component_get_state (self->egl_render, 0);
 #endif
 
   gst_buffer_replace (&self->codec_data, NULL);
OpenPOWER on IntegriCloud