diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-omx-1.2.0/0003-no-timeout-on-get-state.patch')
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-omx-1.2.0/0003-no-timeout-on-get-state.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.2.0/0003-no-timeout-on-get-state.patch b/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.2.0/0003-no-timeout-on-get-state.patch new file mode 100644 index 0000000..0a0050d --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.2.0/0003-no-timeout-on-get-state.patch | |||
| @@ -0,0 +1,16 @@ | |||
| 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); | ||
