mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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:
parent
ce76b5780a
commit
77c7eda0bf
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue