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

Commit 8f5e96f6 authored by beattyblue.kim's avatar beattyblue.kim
Browse files

LiveSession: Fixed a bug that set invalid metadata key for subtitles.



An error occurs in nuplayer due to invalid key value setting in livesession.
The "track-index" key has been modified in aosp p-os.

Test: play hls streaming with webvtt subtitles.

Signed-off-by: default avatarbeattyblue.kim <beattyblue.kim@lge.com>

Change-Id: I494889becc6497cd3a747bd82d57fcc755a3da89
parent e91c3893
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -445,7 +445,7 @@ status_t LiveSession::dequeueAccessUnit(
               return -EAGAIN;
            };
            (*accessUnit)->meta()->setInt32(
                    "trackIndex", mPlaylist->getSelectedIndex());
                    "track-index", mPlaylist->getSelectedIndex());
            (*accessUnit)->meta()->setInt64("baseUs", mRealTimeBaseUs);
        } else if (stream == STREAMTYPE_METADATA) {
            HLSTime mdTime((*accessUnit)->meta());