Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle audio decoder errors #139

Merged
merged 5 commits into from Oct 1, 2018
Merged

Handle audio decoder errors #139

merged 5 commits into from Oct 1, 2018

Conversation

@ferjm
Copy link
Member

ferjm commented Oct 1, 2018

No description provided.

@ferjm ferjm requested a review from Manishearth Oct 1, 2018
Copy link
Member

Manishearth left a comment

r=me

let pipeline_ = pipeline.downgrade();
let callbacks_ = callbacks.clone();

Builder::new()

This comment has been minimized.

@Manishearth

Manishearth Oct 1, 2018

Member

I feel like we should be able to do this in the same thread, but no big deal if we can't.

This comment has been minimized.

@sdroege

sdroege Oct 1, 2018

Contributor

You could integrate it into an existing event loop via e.g. the fd (it becomes readable once you can pop a message), or by using set_sync_bus_handler() and from there dispatching the message to your event loop (and returning Drop) and not doing anything else

This comment has been minimized.

@Manishearth

Manishearth Oct 1, 2018

Member

Ah, set_sync_bus_handler was what I was looking for. We can have that send an Error() message to the event loop

This comment has been minimized.

@ferjm

ferjm Oct 1, 2018

Author Member

Done

@ferjm ferjm merged commit 55aa5ed into servo:master Oct 1, 2018
1 check failed
1 check failed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
@ferjm ferjm deleted the ferjm:audio.decoder.errors branch Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.