Audio extension decoders: Pass decoder to getOutputFormat
It seems generally useful to have access to the decoder in getOutputFormat. We're currently working around lack of access by using member variables in the concrete audio extension renderers. In the case of the Ffmpeg extension, holding a reference to the decoder is preventing it from being garbage collected when the decoder is released by the base class. PiperOrigin-RevId: 324799670
Showing
with
32 additions
and
54 deletions
Please
register
or
sign in
to comment