Commit f0640f20 authored by Sebastian Dröge's avatar Sebastian Dröge

vp8dec: Immediately return if opening the decoder failed

Instead of ignoring any errors.
parent 3c216600
......@@ -487,6 +487,8 @@ gst_vp8_dec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
ret = open_codec (dec, frame);
return GST_FLOW_OK;
else if (ret != GST_FLOW_OK)
return ret;
deadline = gst_video_decoder_get_max_decode_time (decoder, frame);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment