HACK: don't call media_source_failure_steps when eos

Because gstreamer's appsrc queue might be big enough to swallow
the whole video holding the metadata extraction until EOS.
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-08-21 17:59:09 +02:00 committed by Fernando Jiménez Moreno
parent ce76b5780a
commit 77c7eda0bf

View file

@ -1138,8 +1138,8 @@ impl FetchResponseListener for HTMLMediaElementContext {
// format, or can otherwise not be rendered at all"
if !elem.have_metadata.get() {
// FIXME(victor): adjust player's max-size (or buffering)
elem.queue_dedicated_media_source_failure_steps();
// => "Once the entire media resource has been fetched..."
//elem.queue_dedicated_media_source_failure_steps();
// => "Once the entire media resource has been fetched..."
} else if status.is_ok() {
elem.change_ready_state(ReadyState::HaveEnoughData);