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

Commit 3b963c60 authored by Insun Kang's avatar Insun Kang
Browse files

Fix a bug on sending a message to retry in TimedText.

related-to-bug: 6480861

Change-Id: I86f24f1304dea42a7501c578cff0c590b048ccc2
parent c150ca7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ void TimedTextPlayer::doRead(MediaSource::ReadOptions* options) {
    status_t err = mSource->read(&startTimeUs, &endTimeUs,
                                 &(parcelEvent->parcel), options);
    if (err == WOULD_BLOCK) {
        sp<AMessage> msg = new AMessage(kWhatRetryRead);
        sp<AMessage> msg = new AMessage(kWhatRetryRead, id());
        if (options != NULL) {
            int64_t seekTimeUs;
            MediaSource::ReadOptions::SeekMode seekMode;