Revert an unwanted commit.
This commit is contained in:
1 parent
6eaa5a11b3
commit
d66726ae01
1 file changed
+5
-2
@@ -639,7 +639,10 @@ int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, uint64_t
|
|||||||
sample->isSync = YES;
|
sample->isSync = YES;
|
||||||
sample->trackId = track.sourceId;
|
sample->trackId = track.sourceId;
|
||||||
|
|
||||||
if (demuxHelper->previousSample) {
|
[self enqueue:sample];
|
||||||
|
[sample release];
|
||||||
|
|
||||||
|
/*if (demuxHelper->previousSample) {
|
||||||
uint64_t duration = sample->timestamp / (double)1000000.f * (mkv_TruncFloat(trackInfo->AV.Audio.SamplingFreq) / 1000.f) - demuxHelper->current_time;
|
uint64_t duration = sample->timestamp / (double)1000000.f * (mkv_TruncFloat(trackInfo->AV.Audio.SamplingFreq) / 1000.f) - demuxHelper->current_time;
|
||||||
|
|
||||||
demuxHelper->previousSample->duration = duration;
|
demuxHelper->previousSample->duration = duration;
|
||||||
@@ -649,7 +652,7 @@ int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, uint64_t
|
|||||||
}
|
}
|
||||||
|
|
||||||
[demuxHelper->previousSample release];
|
[demuxHelper->previousSample release];
|
||||||
demuxHelper->previousSample = sample;
|
demuxHelper->previousSample = sample;*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user