Bug 973408 - Move MediaDecoderStateMachine::DecodeLoop()'s local variables to class members so the function can be made reentrant in future. r=kinetik
Bug 973408 - Remove MediaDecoderStateMachine::GetAmpleVideoFrames(), and MediaOMXStateMachine. r=kinetik
Bug 973408 - Split DecodeThreadRun() into separate decode tasks. r=kinetik
Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik
Bug 973408 - Add pop listeners to MediaQueue. r=kinetik
Bug 973408 - Split innards of MediaDecoderStateMachine::DecodeLoop() into sub DecodeAudio/DecodeVideo functions. r=kinetik
Bug 973408 - Decode video and audio in separate media tasks. r=kinetik
Bug 973408 - Set MediaDecoderReaders idle when they're not decoding. r=kinetik
Bug 973408 - Merge logic from UpdateIdleState and enqueueing decode tasks, so that we always behave consistently, especially WRT setting readers Idle on B2G. r=kinetik