commit | abd1f4f870925d6776dbe4b930b759a1ab6595ca | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Jul 20 15:04:28 2010 -0700 |
committer | Andreas Huber <andih@google.com> | Wed Jul 21 08:51:29 2010 -0700 |
tree | 1b86ec19a16a2a340afecfd6207b1fd8236228b9 | |
parent | 3108231d90e8aa324923fd8864ca2477948c5d25 [diff] [blame] |
Support finer seek control on MediaSources. related-to-bug: 2858448 Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
diff --git a/media/libstagefright/CameraSource.cpp b/media/libstagefright/CameraSource.cpp index 6f4c980..4cc176a 100644 --- a/media/libstagefright/CameraSource.cpp +++ b/media/libstagefright/CameraSource.cpp
@@ -267,7 +267,8 @@ *buffer = NULL; int64_t seekTimeUs; - if (options && options->getSeekTo(&seekTimeUs)) { + ReadOptions::SeekMode mode; + if (options && options->getSeekTo(&seekTimeUs, &mode)) { return ERROR_UNSUPPORTED; }