Make looping work with non-rtmp clips. (#612)