Skip to content

Commit

Permalink
Remove change in tsdemuxer that caused video tearing
Browse files Browse the repository at this point in the history
Fixes #2514
  • Loading branch information
Rob Walch committed Feb 26, 2020
1 parent e70a5d3 commit ba07abc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/demux/tsdemuxer.ts
Expand Up @@ -335,15 +335,12 @@ class TSDemuxer implements Demuxer {
audioTrack.pesData = audioData;
id3Track.pesData = id3Data;

const result = {
return {
audioTrack,
avcTrack,
id3Track,
textTrack: this._txtTrack
};

this.extractRemainingSamples(result);
return result;
}

flush () {
Expand Down

0 comments on commit ba07abc

Please sign in to comment.