OSDN Git Service

Merge "When switching surface, do not set mSeekNotificationSent as true, because...
authorGloria Wang <gwang@google.com>
Thu, 18 Aug 2011 22:14:36 +0000 (15:14 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 18 Aug 2011 22:14:36 +0000 (15:14 -0700)
commit50bb96ca6d19846b20b8016cf020e6a3a80e495e
tree43eccb95599d163689591350b11ea24dca80c0aa
parent7341123ed8fed903c593a38d57ffabad3ad62860
parentaf64a8a6ad89f52685e822dca30742a4132c9ae6
Merge "When switching surface, do not set mSeekNotificationSent as true, because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272."
media/libstagefright/AwesomePlayer.cpp