summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRonghua Wu <ronghuawu@google.com>2015-04-14 21:12:53 +0000
committerRonghua Wu <ronghuawu@google.com>2015-04-14 21:12:53 +0000
commit99acce4526db0f14be6e516ecb3920d5ed66877b (patch)
treed97838f1d697448b4b55c3485761518b3037ac7a /include
parentea20d117ef9b4e867ec3982c7d070e719617ba2f (diff)
downloadframeworks_av-99acce4526db0f14be6e516ecb3920d5ed66877b.zip
frameworks_av-99acce4526db0f14be6e516ecb3920d5ed66877b.tar.gz
frameworks_av-99acce4526db0f14be6e516ecb3920d5ed66877b.tar.bz2
Revert "stagefright: define CB_CODEC_RELEASED and ReleaseReason enum."
This reverts commit ea20d117ef9b4e867ec3982c7d070e719617ba2f. Change-Id: Ia77448a81429814e6915eca9c1cd854ca0e623cc
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MediaCodec.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h
index 4ddb8d4..d055341 100644
--- a/include/media/stagefright/MediaCodec.h
+++ b/include/media/stagefright/MediaCodec.h
@@ -51,13 +51,7 @@ struct MediaCodec : public AHandler {
CB_OUTPUT_AVAILABLE = 2,
CB_ERROR = 3,
CB_OUTPUT_FORMAT_CHANGED = 4,
- CB_CODEC_RELEASED = 5,
- };
-
- // used by CB_CODEC_RELEASED to tell the upper layer the cause of the release.
- enum ReleaseReason {
- REASON_UNKNOWN = 0,
- REASON_RECLAIMED, // resources reclaimed by resource manager
+ CB_RESOURCE_RECLAIMED = 5,
};
struct BatteryNotifier;