applyFrameAdaptationParameters

Applies the frame adaptation parameters to a frame. Returns null if the frame is meant to be dropped. Returns a new frame. The caller is responsible for releasing the returned frame.