diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 2fecb8b974..1b90caa124 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -382,9 +382,6 @@ gst_omx_video_dec_change_state (GstElement * element, GstStateChange transition) break; } - if (ret == GST_STATE_CHANGE_FAILURE) - return ret; - ret = GST_ELEMENT_CLASS (gst_omx_video_dec_parent_class)->change_state (element, transition);