devices That Require Surface Workaround
Some devices have an incorrect implementation of MediaCodec.setOutputSurface. This leads to failure when the surface changes. To prevent failure, the codec will be released and re-instantiated in those scenarios.
If problems regarding system surface handling occur for specific devices, they can be added to this list to enable the aforesaid workaround for them.