Lines Matching refs:mSource

233             if (mAudioTrack.mSource == NULL) {  in initFromDataSource()
235 mAudioTrack.mSource = track; in initFromDataSource()
237 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource()
248 if (mVideoTrack.mSource == NULL) { in initFromDataSource()
250 mVideoTrack.mSource = track; in initFromDataSource()
252 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in initFromDataSource()
318 if (mAudioTrack.mSource != NULL && mAudioTrack.mSource->start() != OK) { in startSources()
323 if (mVideoTrack.mSource != NULL && mVideoTrack.mSource->start() != OK) { in startSources()
332 if (mAudioTrack.mSource != NULL) { in getLastReadPosition()
334 } else if (mVideoTrack.mSource != NULL) { in getLastReadPosition()
478 if (mVideoTrack.mSource != NULL) { in onPrepareAsync()
520 if (mAudioTrack.mSource != NULL) { in finishPrepareAsync()
524 if (mVideoTrack.mSource != NULL) { in finishPrepareAsync()
550 if (mAudioTrack.mSource != NULL) { in start()
554 if (mVideoTrack.mSource != NULL) { in start()
679 if (track->mSource != NULL) { in onMessageReceived()
680 track->mSource->stop(); in onMessageReceived()
682 track->mSource = source; in onMessageReceived()
683 track->mSource->start(); in onMessageReceived()
819 if (mTimedTextTrack.mSource->getFormat()->findData( in sendGlobalTextData()
842 sp<IMediaSource> source = audio ? mAudioTrack.mSource : mVideoTrack.mSource; in getFormatMeta_l()
863 if (track->mSource == NULL) { in dequeueAccessUnit()
908 if (mSubtitleTrack.mSource != NULL) { in dequeueAccessUnit()
912 if (mTimedTextTrack.mSource != NULL) { in dequeueAccessUnit()
928 if (mSubtitleTrack.mSource != NULL in dequeueAccessUnit()
936 if (mTimedTextTrack.mSource != NULL in dequeueAccessUnit()
1032 if (track != NULL && track->mSource != NULL) { in getSelectedTrack()
1049 if (mSubtitleTrack.mSource != NULL && trackIndex == mSubtitleTrack.mIndex) { in selectTrack()
1052 } else if (mTimedTextTrack.mSource != NULL && trackIndex == mTimedTextTrack.mIndex) { in selectTrack()
1059 track->mSource->stop(); in selectTrack()
1060 track->mSource = NULL; in selectTrack()
1072 if (track->mSource != NULL && track->mIndex == trackIndex) { in selectTrack()
1076 if (track->mSource != NULL) { in selectTrack()
1077 track->mSource->stop(); in selectTrack()
1079 track->mSource = mSources.itemAt(trackIndex); in selectTrack()
1080 track->mSource->start(); in selectTrack()
1082 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
1085 track->mPackets->setFormat(track->mSource->getFormat()); in selectTrack()
1096 if (mSubtitleTrack.mSource != NULL in selectTrack()
1108 if (mTimedTextTrack.mSource != NULL in selectTrack()
1120 if (track->mSource != NULL && track->mIndex == trackIndex) { in selectTrack()
1167 if (mVideoTrack.mSource != NULL) { in doSeek()
1179 if (mAudioTrack.mSource != NULL) { in doSeek()
1185 if (mSubtitleTrack.mSource != NULL) { in doSeek()
1190 if (mTimedTextTrack.mSource != NULL) { in doSeek()
1261 CHECK(mTimedTextTrack.mSource != NULL in mediaBufferToABuffer()
1262 && mTimedTextTrack.mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in mediaBufferToABuffer()
1360 if (track->mSource == NULL) { in readBuffer()
1376 const bool couldReadMultiple = (track->mSource->supportReadMultiple()); in readBuffer()
1387 sp<IMediaSource> source = track->mSource; in readBuffer()
1486 if (counterTrack->mSource != NULL) { in readBuffer()