media_codecs: add adaptive-playback feature

Change-Id: I77456c1f1ff67304bf2da25d83b3f5a05169cad9
Merge remote-tracking branch 'cm/cm-12.0' into HEAD