diff options
author | vivek mehta <mvivek@codeaurora.org> | 2012-12-04 20:57:49 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-12-20 22:49:25 -0800 |
commit | 5b3f5c54f11adec2a2b0b747b9fc86678f32b8c7 (patch) | |
tree | 8d5c43ab82ebe2c4207a45fe9473422d30bb9648 /include | |
parent | 90d6cf79ae229671d3ef735a94d6e215e1a37c5e (diff) | |
download | frameworks_av-5b3f5c54f11adec2a2b0b747b9fc86678f32b8c7.zip frameworks_av-5b3f5c54f11adec2a2b0b747b9fc86678f32b8c7.tar.gz frameworks_av-5b3f5c54f11adec2a2b0b747b9fc86678f32b8c7.tar.bz2 |
libstagefright: Add support to seek to zero
- Add CAN_SEEK_TO_ZERO flag in MediaExtractor to allow
seek to zero, when previous button is pressed, for clip
that can't be seeked.
Change-Id: Ic2761cc5bac2403ee1339da77ad02fde942a3437
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MediaExtractor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaExtractor.h b/include/media/stagefright/MediaExtractor.h index 94090ee..a458284 100644 --- a/include/media/stagefright/MediaExtractor.h +++ b/include/media/stagefright/MediaExtractor.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2009 The Android Open Source Project + * Copyright (c) 2012, The Linux Foundation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,6 +50,7 @@ public: CAN_SEEK_FORWARD = 2, // the "seek 10secs forward button" CAN_PAUSE = 4, CAN_SEEK = 8, // the "seek bar" + CAN_SEEK_TO_ZERO = 16, // the "previous button" }; // If subclasses do _not_ override this, the default is |