mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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)
|
||||
gst_omx_port_set_flushing (self->out_port, FALSE);
|
||||
self->downstream_flow_ret = GST_FLOW_OK;
|
||||
|
||||
g_mutex_lock (self->drain_lock);
|
||||
self->draining = FALSE;
|
||||
g_cond_broadcast (self->drain_cond);
|
||||
g_mutex_unlock (self->drain_lock);
|
||||
self->started = FALSE;
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_PLAYING:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue