summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2019-05-28 18:05:19 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2019-05-28 18:13:13 +0100
commit84d15f4d31cda25050a198bd48222c370613ae23 (patch)
treeb7f2543c829a3b3648c098e6cb579673389f8e81 /recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch
parent7059c374512f1c1c0df9ecab0703d11438bdf78b (diff)
downloadmeta-raspberrypi-ag/gstomx.tar.gz
gstreamer1.0-omx: Forward port bbappend and patches to v1.16.xag/gstomx
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch b/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch
new file mode 100644
index 0000000..4342326
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.16/0003-no-timeout-on-get-state.patch
@@ -0,0 +1,24 @@
1From 21f776bff596bc0bd09708efa6497f8bdcd065c0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 13 Feb 2016 11:42:29 -0800
4
5---
6 omx/gstomxvideodec.c | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
10index c4dc33f..ba5304f 100644
11--- a/omx/gstomxvideodec.c
12+++ b/omx/gstomxvideodec.c
13@@ -2021,9 +2021,9 @@ gst_omx_video_dec_stop (GstVideoDecoder * decoder)
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);