media_codecs: add adaptive-playback feature

Change-Id: I77456c1f1ff67304bf2da25d83b3f5a05169cad9