MediaPlayer::~MediaPlayer() { LOGV("destructor"); removeObitRecipient(this); disconnect(); IPCThreadState::self()->flushCommands(); } void MediaPlayer::disconnect() { LOGV("disconnect"); spp; { Mutex::Autolock _l(mLock); p = mPlayer; mPlayer.clear(); } if (p != 0) { p->disconnect(); } } // always call with lock held void MediaPlayer::clear_l() { mDuration = -1; mCurrentPosition = -1; mSeekPosition = -1; mVideoWidth = mVideoHeight = 0; }
Friday, March 19, 2010
test
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment