Fix the get duration and current position algorithm.
Created by: Jeroen Mathon
Created by: JeroenMathon
There seems to be a problem in the getAudioPosition() and getAudioLength() function. It does not return a valid time it returns NULL.
This could be fixed by waiting for the ASYNC message in the pipepline bus to know when the media has been successfully initialized.