mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
omxvideodec: The component is not started in READY
This commit is contained in:
parent
8c1aee4171
commit
3412ecf538
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,6 @@ 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, TRUE);
|
gst_omx_port_set_flushing (self->out_port, TRUE);
|
||||||
|
|
||||||
self->started = FALSE;
|
|
||||||
g_mutex_lock (self->drain_lock);
|
g_mutex_lock (self->drain_lock);
|
||||||
self->draining = FALSE;
|
self->draining = FALSE;
|
||||||
g_cond_broadcast (self->drain_cond);
|
g_cond_broadcast (self->drain_cond);
|
||||||
|
@ -381,6 +380,7 @@ gst_omx_video_dec_change_state (GstElement * element, GstStateChange transition)
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||||
self->downstream_flow_ret = GST_FLOW_WRONG_STATE;
|
self->downstream_flow_ret = GST_FLOW_WRONG_STATE;
|
||||||
|
self->started = FALSE;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||||
if (!gst_omx_video_dec_close (self))
|
if (!gst_omx_video_dec_close (self))
|
||||||
|
|
Loading…
Reference in a new issue