Fix for VFR files play issue (ticked #12012 i've opened).

Signed-off-by: jpsdr <jpsdr.psx@free.fr>
Update to a better method.

Signed-off-by: jpsdr <jpsdr.psx@free.fr>
Correct headers

Signed-off-by: jpsdr <jpsdr.psx@free.fr>
Add debug log information.

Signed-off-by: jpsdr <jpsdr.psx@free.fr>