Descriptionmedia: Support MojoAudioDecoder.
Details:
- Support mojo audio decoder in gn args.
- Add DecoderFactory to help create external decoders.
- Add MojoDecoderFactory that can create MojoAudioDecoder.
- When mojo audio decoder is enabled, enable MojoDecoderFactory.
In the next CL we'll add mojo audio decoder interface and services.
We'll also add real implementation of MojoAudioDecoder.
To test this on Desktop, set the following gn arguments:
enable_mojo_media = true
mojo_media_services = [ "audio_decoder" ]
Then in DecoderSelector, manually disable DecryptingAudioDecoder and
DecryptingDemuxerStream. Now try to play an encrypted audio,
MojoAudioDecoder should be selected. But it'll fail immediately in the
first Decode() call.
BUG=542910
TEST=See above.
Committed: https://crrev.com/409e5355ae1269cde51dc5b73b4592bad4e8c2ea
Cr-Commit-Position: refs/heads/master@{#376878}
Patch Set 1 #Patch Set 2 : nogncheck #
Total comments: 6
Messages
Total messages: 19 (8 generated)
|