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

Commit 1d3b7639 authored by Ravi Kumar Alamanda's avatar Ravi Kumar Alamanda Committed by Android Git Automerger
Browse files

am cc4f6bfb: hal: Fix progress bar issue during compress offload playback

* commit 'cc4f6bfb':
  hal: Fix progress bar issue during compress offload playback
parents e165a6a6 cc4f6bfb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -838,6 +838,8 @@ static void *offload_thread_loop(void *context)
            compress_partial_drain(out->compr);
            send_callback = true;
            event = STREAM_CBK_EVENT_DRAIN_READY;
            /* Resend the metadata for next iteration */
            out->send_new_metadata = 1;
            break;
        case OFFLOAD_CMD_DRAIN:
            compress_drain(out->compr);
@@ -852,6 +854,7 @@ static void *offload_thread_loop(void *context)
        out->offload_thread_blocked = false;
        pthread_cond_signal(&out->cond);
        if (send_callback) {
            ALOGVV("%s: sending offload_callback event %d", __func__, event);
            out->offload_callback(event, NULL, out->offload_cookie);
        }
        free(cmd);