Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb90947b authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am e1f3976b: Merge "Make sure we cache the sampleTable again if using the...

am e1f3976b: Merge "Make sure we cache the sampleTable again if using the caching datasource." into gingerbread

Merge commit 'e1f3976b' into gingerbread-plus-aosp

* commit 'e1f3976b':
  Make sure we cache the sampleTable again if using the caching datasource.
parents 33476b2d e1f3976b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -498,7 +498,9 @@ status_t MPEG4Extractor::parseChunk(off_t *offset, int depth) {
            if (chunk_type == FOURCC('s', 't', 'b', 'l')) {
                LOGV("sampleTable chunk is %d bytes long.", (size_t)chunk_size);

                if (mDataSource->flags() & DataSource::kWantsPrefetching) {
                if (mDataSource->flags()
                        & (DataSource::kWantsPrefetching
                            | DataSource::kIsCachingDataSource)) {
                    sp<MPEG4DataSource> cachedSource =
                        new MPEG4DataSource(mDataSource);