Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da9740e6 authored by Andreas Huber's avatar Andreas Huber
Browse files

Fix a typo that would cause us not to shutdown/flush the decoders in

some cases.

related-to-bug: 8630032

Change-Id: I8e94b53b34e137e827e9630c65f3252ea91e4ebd
parent f5c02110
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1158,7 +1158,7 @@ void NuPlayer::performSeek(int64_t seekTimeUs) {
void NuPlayer::performDecoderFlush() {
    ALOGV("performDecoderFlush");

    if (mAudioDecoder != NULL && mVideoDecoder == NULL) {
    if (mAudioDecoder == NULL && mVideoDecoder == NULL) {
        return;
    }

@@ -1176,7 +1176,7 @@ void NuPlayer::performDecoderFlush() {
void NuPlayer::performDecoderShutdown() {
    ALOGV("performDecoderShutdown");

    if (mAudioDecoder != NULL && mVideoDecoder == NULL) {
    if (mAudioDecoder == NULL && mVideoDecoder == NULL) {
        return;
    }