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

Commit 80b3ab3f authored by Andreas Huber's avatar Andreas Huber
Browse files

Fixing the build: StagefrightPlayer now implements the newly introduced "getMetadata" pure virtual.

parent 115d23a8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -205,4 +205,9 @@ void StagefrightPlayer::setAudioSink(const sp<AudioSink> &audioSink) {
    }
}

status_t StagefrightPlayer::getMetadata(
        const SortedVector<MetadataType> &ids, Parcel *records) {
    return INVALID_OPERATION;
}

}  // namespace android
+3 −0
Original line number Diff line number Diff line
@@ -48,6 +48,9 @@ public:
    virtual status_t invoke(const Parcel &request, Parcel *reply);
    virtual void setAudioSink(const sp<AudioSink> &audioSink);

    virtual status_t getMetadata(
            const SortedVector<MetadataType> &ids, Parcel *records);

private:
    MediaPlayerImpl *mPlayer;