Use pool of decoders rather than creating new ones that must be closed #94

Closed
rafrombrc opened this Issue Apr 8, 2013 · 1 comment

1 participant

@rafrombrc
Mozilla Services member

The decoderManager is currently creating decoders for inputs on demand. When an input is finished, it must close the decoder channels. The manager then holds on to the closed decoders for possible reuse. Closing the decoder is an unfortunate requirement to place on input developers, and the locking involved in tracking the running and closed decoders is less than ideal. A round-robin pool of decoder sets that are always running is a better choice.

@rafrombrc rafrombrc was assigned Apr 8, 2013
@rafrombrc
Mozilla Services member
@rafrombrc rafrombrc closed this Apr 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment