Commit b5b89317 authored by Jean-Yves Avenard's avatar Jean-Yves Avenard
Browse files

Bug 1261900: [MSE/webm] P6. Don't unnecessarily calculate the next keyframe time. r=kinetik

MSE only uses the webm demuxer to demux all samples at once. Attempting to find the next keyframe as such always fail.
parent ebffea1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -897,7 +897,7 @@ WebMTrackDemuxer::GetSamples(int32_t aNumSamples)
void
WebMTrackDemuxer::SetNextKeyFrameTime()
{
  if (mType != TrackInfo::kVideoTrack) {
  if (mType != TrackInfo::kVideoTrack || mParent->IsMediaSource()) {
    return;
  }