mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
omx: Stop output port task after draining
This commit is contained in:
parent
35a13a2cea
commit
e1f94660f7
3 changed files with 3 additions and 0 deletions
|
@ -507,6 +507,7 @@ eos:
|
|||
self->draining = FALSE;
|
||||
g_cond_broadcast (&self->drain_cond);
|
||||
flow_ret = GST_FLOW_OK;
|
||||
gst_pad_pause_task (GST_AUDIO_ENCODER_SRC_PAD (self));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (self, "Component signalled EOS");
|
||||
flow_ret = GST_FLOW_EOS;
|
||||
|
|
|
@ -1634,6 +1634,7 @@ eos:
|
|||
self->draining = FALSE;
|
||||
g_cond_broadcast (&self->drain_cond);
|
||||
flow_ret = GST_FLOW_OK;
|
||||
gst_pad_pause_task (GST_VIDEO_DECODER_SRC_PAD (self));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (self, "Component signalled EOS");
|
||||
flow_ret = GST_FLOW_EOS;
|
||||
|
|
|
@ -901,6 +901,7 @@ eos:
|
|||
self->draining = FALSE;
|
||||
g_cond_broadcast (&self->drain_cond);
|
||||
flow_ret = GST_FLOW_OK;
|
||||
gst_pad_pause_task (GST_VIDEO_ENCODER_SRC_PAD (self));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (self, "Component signalled EOS");
|
||||
flow_ret = GST_FLOW_EOS;
|
||||
|
|
Loading…
Reference in a new issue