Skip to content

Commit

Permalink
Merge pull request #1663 from CastagnaIT/fix_extract_kid_omega
Browse files Browse the repository at this point in the history
[Session] Fix wrong KID conversion
  • Loading branch information
CastagnaIT authored Aug 28, 2024
2 parents 24fe9f3 + bb3f554 commit f139518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ bool CSession::ExtractStreamProtectionData(PLAYLIST::CPeriod::PSSHSet& sessionPs
{
if (pssh[i].GetKid(0))
{
sessionPsshset.defaultKID_ = std::string((const char*)pssh[i].GetKid(0), 16);
sessionPsshset.defaultKID_ = STRING::ToHexadecimal(pssh[i].GetKid(0), 16);
}
else if (AP4_Track* track = movie->GetTrack(
static_cast<AP4_Track::Type>(stream.m_adStream.GetTrackType())))
Expand Down

0 comments on commit f139518

Please sign in to comment.