mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
omxvideodec: No need to signal the drain cond when going from READY to PAUSED
This commit is contained in:
parent
b66fd610d6
commit
6c2cca3e94
1 changed files with 1 additions and 4 deletions
|
@ -347,11 +347,8 @@ gst_omx_video_dec_change_state (GstElement * element, GstStateChange transition)
|
||||||
if (self->out_port)
|
if (self->out_port)
|
||||||
gst_omx_port_set_flushing (self->out_port, FALSE);
|
gst_omx_port_set_flushing (self->out_port, FALSE);
|
||||||
self->downstream_flow_ret = GST_FLOW_OK;
|
self->downstream_flow_ret = GST_FLOW_OK;
|
||||||
|
|
||||||
g_mutex_lock (self->drain_lock);
|
|
||||||
self->draining = FALSE;
|
self->draining = FALSE;
|
||||||
g_cond_broadcast (self->drain_cond);
|
self->started = FALSE;
|
||||||
g_mutex_unlock (self->drain_lock);
|
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue