fix player crash issue while player stoped when playing audio only or video only files