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

Commit 1af6939c authored by Santhosh Behara's avatar Santhosh Behara Committed by Linux Build Service Account
Browse files

frameworks/av: Extend getComponentRole

Extend getComponentRole() by making it virtual.

Change-Id: Ibf3c28b316ea40d666c08a7c7e7e772fce9f2f40
parent 9f15344a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ protected:
            ssize_t *index = NULL);

    virtual status_t setComponentRole(bool isEncoder, const char *mime);
    static const char *getComponentRole(bool isEncoder, const char *mime);
    virtual const char *getComponentRole(bool isEncoder, const char *mime);
    static status_t setComponentRole(
            const sp<IOMX> &omx, IOMX::node_id node, const char *role);
    virtual status_t configureCodec(const char *mime, const sp<AMessage> &msg);