diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-omx/0003-fix-decoder-flushing.patch')
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-omx/0003-fix-decoder-flushing.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-omx/0003-fix-decoder-flushing.patch b/recipes-multimedia/gstreamer/gstreamer1.0-omx/0003-fix-decoder-flushing.patch new file mode 100644 index 0000000..a244b09 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-omx/0003-fix-decoder-flushing.patch | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | diff --git a/omx/gstomx.c b/omx/gstomx.c | ||
| 2 | index 69696c4..c382019 100644 | ||
| 3 | --- a/omx/gstomx.c | ||
| 4 | +++ b/omx/gstomx.c | ||
| 5 | @@ -1508,8 +1508,8 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout, | ||
| 6 | last_error = OMX_ErrorNone; | ||
| 7 | gst_omx_component_handle_messages (comp); | ||
| 8 | while (signalled && last_error == OMX_ErrorNone && !port->flushed | ||
| 9 | - && port->buffers | ||
| 10 | - && port->buffers->len > g_queue_get_length (&port->pending_buffers)) { | ||
| 11 | + /* && port->buffers | ||
| 12 | + && port->buffers->len > g_queue_get_length (&port->pending_buffers) */) { | ||
| 13 | signalled = gst_omx_component_wait_message (comp, timeout); | ||
| 14 | if (signalled) | ||
| 15 | gst_omx_component_handle_messages (comp); | ||
