Bug 882718 - Implement ActiveFlag at TextTrackCue object. r=rillian
MozReview-Commit-ID: 4FksCKzB0Ep
This commit is contained in:
@@ -776,6 +776,11 @@ void HTMLMediaElement::AbortExistingLoads()
|
||||
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_EMPTY);
|
||||
ChangeReadyState(nsIDOMHTMLMediaElement::HAVE_NOTHING);
|
||||
|
||||
//TODO: Apply the rules for text track cue rendering Bug 865407
|
||||
if (mTextTrackManager) {
|
||||
mTextTrackManager->GetTextTracks()->SetCuesInactive();
|
||||
}
|
||||
|
||||
if (fireTimeUpdate) {
|
||||
// Since we destroyed the decoder above, the current playback position
|
||||
// will now be reported as 0. The playback position was non-zero when
|
||||
|
||||
Reference in New Issue
Block a user