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

Commit 2047a864 authored by Hui (QRD) Yu's avatar Hui (QRD) Yu Committed by Steve Kondik
Browse files

Nuplayer: Fix no image or image will be delay issue

- Fix no image or image will be delay issue
  while using Wifi VOD RTSP program

Change-Id: I7b32fb2ef80f46557c6c76118783245f8488812f
parent ffe95267
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -443,8 +443,9 @@ void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) {
                if (!info->mNPTMappingValid) {
                    // This is a live stream, we didn't receive any normal
                    // playtime mapping. We won't map to npt time.
                    source->queueAccessUnit(accessUnit);
                    break;
                    info->mRTPTime = rtpTime;
                    info->mNormalPlaytimeUs = 0ll;
                    info->mNPTMappingValid = true;
                }

                int64_t nptUs =