vaapidecode: reset decoder_finish variable after stopping the decoder thread

Otherwise the element is not usable again after draining/EOS.

https://bugzilla.gnome.org/show_bug.cgi?id=734616
This commit is contained in:
Sebastian Dröge 2014-08-11 17:15:24 +03:00 committed by Gwenole Beauchesne
parent 4ff4563a47
commit c551cc7cc3

View file

@ -510,6 +510,7 @@ gst_vaapidecode_finish(GstVideoDecoder *vdec)
gst_pad_stop_task(GST_VAAPI_PLUGIN_BASE_SRC_PAD(decode));
GST_VIDEO_DECODER_STREAM_LOCK(vdec);
}
decode->decoder_finish = FALSE;
return ret;
}