Merge pull request #483 from kellyschrock/hls_aac_fix

HLS AAC fix
This commit is contained in:
ojw28 2015-05-22 20:40:26 +01:00
commit fd7345b4c4

View File

@ -61,7 +61,6 @@ public final class HlsExtractorWrapper implements ExtractorOutput {
this.extractor = extractor; this.extractor = extractor;
this.shouldSpliceIn = shouldSpliceIn; this.shouldSpliceIn = shouldSpliceIn;
sampleQueues = new SparseArray<DefaultTrackOutput>(); sampleQueues = new SparseArray<DefaultTrackOutput>();
extractor.init(this);
} }
/** /**
@ -71,6 +70,7 @@ public final class HlsExtractorWrapper implements ExtractorOutput {
*/ */
public void init(Allocator allocator) { public void init(Allocator allocator) {
this.allocator = allocator; this.allocator = allocator;
this.extractor.init(this);
} }
/** /**