Open Bug 1649685 Opened 5 years ago Updated 4 years ago

Make GMP stop explicitly using Google's MessageLoop

Categories

(Core :: Audio/Video: GMP, task)

task

Tracking

()

People

(Reporter: jya, Unassigned)

References

(Blocks 1 open bug)

Details

The GMP process doesn't have XPCOM ; so until now you couldn't call GetCurrentSerialEventTarget or NS_GetCurrentThread() both would have returned nullptr.

However since bug 1647958, GetCurrentSerialEventTarget will correctly return the current MessageLoop's EventTarget ; even with no xpcom.

It would make the GMP code look more inline with the rest of the code ; and provide an easier path to getting rid of MessageLoop.

Obviously, for now it would still be using MessageLoop, but this would be just an implementation detail, the GMP would have no need to know about this.

Assignee: jya-moz → nobody
You need to log in before you can comment on or make changes to this bug.