mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 03:30:35 +00:00
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:
parent
4ff4563a47
commit
c551cc7cc3
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue