omxvideodec: The component is not started already when going from READY to PAUSED

This commit is contained in:
Sebastian Dröge 2011-11-09 15:42:46 +01:00
parent 6c2cca3e94
commit 59faafc30b

View file

@ -358,6 +358,7 @@ gst_omx_video_dec_change_state (GstElement * element, GstStateChange transition)
if (self->out_port)
gst_omx_port_set_flushing (self->out_port, TRUE);
self->started = FALSE;
g_mutex_lock (self->drain_lock);
self->draining = FALSE;
g_cond_broadcast (self->drain_cond);