Fix no sound with FDR-AX100 recorded 4k video
1.Pcm(twos and sowt) parsing support in MPEG4Extractor
2.Pcm data reading from SampleTable support
Bug: 80501047
Test: Play XAVC-S Video and check if the audio is heard
Change-Id: I5edc7f1920c80e23dfdb069259d19e28240799b5
diff --git a/media/extractors/mp4/SampleTable.cpp b/media/extractors/mp4/SampleTable.cpp
index 81c353e..28fe717 100644
--- a/media/extractors/mp4/SampleTable.cpp
+++ b/media/extractors/mp4/SampleTable.cpp
@@ -946,6 +946,11 @@
sampleIndex, sampleSize);
}
+uint32_t SampleTable::getLastSampleIndexInChunk() {
+ Mutex::Autolock autoLock(mLock);
+ return mSampleIterator->getLastSampleIndexInChunk();
+}
+
status_t SampleTable::getMetaDataForSample(
uint32_t sampleIndex,
off64_t *offset,