Loading media/libstagefright/AwesomePlayer.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -2949,6 +2949,7 @@ void AwesomePlayer::onAudioTearDownEvent() { sp<IMediaHTTPService> savedHTTPService = mHTTPService; bool wasLooping = mFlags & LOOPING; // Reset and recreate reset_l(); Loading @@ -2967,6 +2968,9 @@ void AwesomePlayer::onAudioTearDownEvent() { // a MEDIA_ERROR to the client and abort the prepare mFlags |= PREPARE_CANCELLED; } if (wasLooping) { mFlags |= LOOPING; } mAudioTearDown = true; mIsAsyncPrepare = true; Loading Loading
media/libstagefright/AwesomePlayer.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -2949,6 +2949,7 @@ void AwesomePlayer::onAudioTearDownEvent() { sp<IMediaHTTPService> savedHTTPService = mHTTPService; bool wasLooping = mFlags & LOOPING; // Reset and recreate reset_l(); Loading @@ -2967,6 +2968,9 @@ void AwesomePlayer::onAudioTearDownEvent() { // a MEDIA_ERROR to the client and abort the prepare mFlags |= PREPARE_CANCELLED; } if (wasLooping) { mFlags |= LOOPING; } mAudioTearDown = true; mIsAsyncPrepare = true; Loading