ended event bug fix
Created by: nicosang
Hi,
this PR has to solve issue #3098 (closed). As described in this issue, the ended event is not triggered by the video element when the auto loop option is disabled. When the signalEndOfStream function of MediaSourceController is called, buffers are empty. So, what I want to add in the code is to not trigger BUFFERING_COMPLETED event if buffer is empty.
Nico