Merge "Change the signature of method addTextSource() in AwesomePlayer"

This commit is contained in:
James Dong
2012-02-10 17:57:16 -08:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -1360,7 +1360,7 @@ void AwesomePlayer::setAudioSource(sp<MediaSource> source) {
mAudioTrack = source;
}
void AwesomePlayer::addTextSource(sp<MediaSource> source) {
void AwesomePlayer::addTextSource(const sp<MediaSource>& source) {
Mutex::Autolock autoLock(mTimedTextLock);
CHECK(source != NULL);

View File

@@ -258,7 +258,7 @@ private:
void setVideoSource(sp<MediaSource> source);
status_t initVideoDecoder(uint32_t flags = 0);
void addTextSource(sp<MediaSource> source);
void addTextSource(const sp<MediaSource>& source);
void onStreamDone();