If no audio track is detected and repeat was activated, we could loop on the same media trying to skipping it (cherry picked from commit b3dbb29a)