From abd1f4f870925d6776dbe4b930b759a1ab6595ca Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 20 Jul 2010 15:04:28 -0700 Subject: Support finer seek control on MediaSources. related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1 --- media/libstagefright/matroska/MatroskaExtractor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'media/libstagefright/matroska') diff --git a/media/libstagefright/matroska/MatroskaExtractor.cpp b/media/libstagefright/matroska/MatroskaExtractor.cpp index 339a7b5..3739be1 100644 --- a/media/libstagefright/matroska/MatroskaExtractor.cpp +++ b/media/libstagefright/matroska/MatroskaExtractor.cpp @@ -281,7 +281,8 @@ status_t MatroskaSource::read( *out = NULL; int64_t seekTimeUs; - if (options && options->getSeekTo(&seekTimeUs)) { + ReadOptions::SeekMode mode; + if (options && options->getSeekTo(&seekTimeUs, &mode)) { mBlockIter.seek(seekTimeUs); } -- cgit v1.1