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

Commit 079e1219 authored by Ronghua Wu's avatar Ronghua Wu Committed by Android (Google) Code Review
Browse files

Merge "stagefright: define CB_CODEC_RELEASED and ReleaseReason enum."

parents bd903e36 ea20d117
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -53,7 +53,13 @@ struct MediaCodec : public AHandler {
        CB_OUTPUT_AVAILABLE = 2,
        CB_ERROR = 3,
        CB_OUTPUT_FORMAT_CHANGED = 4,
        CB_RESOURCE_RECLAIMED = 5,
        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
    };

    struct BatteryNotifier;