diff options
author | James Dong <jdong@google.com> | 2012-05-11 08:17:22 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-05-11 08:17:22 -0700 |
commit | c20f467d54f921730aa0b2fd087ad83496aeaf4b (patch) | |
tree | 627057030f973567102cf6503ab6d8183fc14369 | |
parent | 240d8a84dec9f9482257a8037457a1d63193b7ff (diff) | |
parent | 3b963c60693c10276f5ebf5e0abb95f6be78070f (diff) | |
download | frameworks_av-c20f467d54f921730aa0b2fd087ad83496aeaf4b.zip frameworks_av-c20f467d54f921730aa0b2fd087ad83496aeaf4b.tar.gz frameworks_av-c20f467d54f921730aa0b2fd087ad83496aeaf4b.tar.bz2 |
Merge "Fix a bug on sending a message to retry in TimedText." into jb-dev
-rw-r--r-- | media/libstagefright/timedtext/TimedTextPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/timedtext/TimedTextPlayer.cpp b/media/libstagefright/timedtext/TimedTextPlayer.cpp index f855d90..9b001cc 100644 --- a/media/libstagefright/timedtext/TimedTextPlayer.cpp +++ b/media/libstagefright/timedtext/TimedTextPlayer.cpp @@ -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; |