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

Commit 3812e3a9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "NdkMediaCodec: mark new APIs as introduced in 26"

parents b4030484 8f61a2b0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -208,6 +208,8 @@ media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface
media_status_t AMediaCodec_releaseOutputBufferAtTime(
        AMediaCodec *mData, size_t idx, int64_t timestampNs);

#if __ANDROID_API__ >= 26

/**
 * Creates a Surface that can be used as the input to encoder, in place of input buffers
 *
@@ -278,7 +280,7 @@ media_status_t AMediaCodec_setParameters(
 */
media_status_t AMediaCodec_signalEndOfInputStream(AMediaCodec *mData);


#endif /* __ANDROID_API__ >= 26 */

typedef enum {
    AMEDIACODECRYPTOINFO_MODE_CLEAR = 0,