CCodecConfig: skip subscribing to optional params until requested
Also fix subscription logic for encoding statistics. Bug: 232485352 Test: atest android.media.misc.cts.HeifWriterTest Test: atest android.media.codec.cts.VideoEncodingStatisticsTest Merged-In: Ie3c65307f43ab7f836ca9faf099b2c4a6560f29d Change-Id: Ie3c65307f43ab7f836ca9faf099b2c4a6560f29d (cherry picked from commit eebab653)
Loading