commit | 3b963c60693c10276f5ebf5e0abb95f6be78070f | [log] [tgz] |
---|---|---|
author | Insun Kang <insun@google.com> | Thu May 10 16:47:24 2012 +0900 |
committer | Insun Kang <insun@google.com> | Fri May 11 19:57:43 2012 +0900 |
tree | bbe347861520c0a0a3cca8c39facdab4f321bc08 | |
parent | c150ca7dda844891fa684f6898da7f7e0c40329d [diff] |
Fix a bug on sending a message to retry in TimedText. related-to-bug: 6480861 Change-Id: I86f24f1304dea42a7501c578cff0c590b048ccc2
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 @@ 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;