MediaElementImpl: Allow format configuration of the media

Change-Id: I92ca394aa3527ba6a225a3d4e7f7915d7e46bd9f