-
John Lin authored
Dispatching the `MediaDataEncoder::Encode()` invocation is not really necessary because the callback is desinated to run in task queue anyway. Also make `Shutdown()` wait for completion to make sure resource is released before next allocation. Differential Revision: https://phabricator.services.mozilla.com/D97027
965c9ab7