File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,6 @@ bool DRM::PRHeaderParser::Parse(const std::vector<uint8_t>& prHeader)
194194 }
195195
196196 std::string_view ver = XML::GetAttrib (nodeWRM, " version" );
197- LOG::Log (LOGDEBUG, " Parsing Playready header version %s" , ver.data ());
198197
199198 xml_node nodeDATA = nodeWRM.child (" DATA" );
200199 if (!nodeDATA)
Original file line number Diff line number Diff line change @@ -1271,15 +1271,13 @@ void adaptive::CDashTree::ParseTagContentProtection(
12711271 }
12721272 else if (childName == " mspr:pro" || childName == " pro" )
12731273 {
1274- if (protScheme.kid .empty () || protScheme.pssh .empty ())
1274+ DRM::PRHeaderParser parser;
1275+ if (parser.Parse (node.child_value ()))
12751276 {
1276- DRM::PRHeaderParser parser;
1277- if (parser.Parse (node.child_value ()))
1278- {
1279- protScheme.kid = STRING::ToHexadecimal (parser.GetKID ());
1280- protScheme.pssh =
1281- BASE64::Encode (DRM::PSSH::Make (DRM::ID_PLAYREADY, {}, parser.GetInitData ()));
1282- }
1277+ protScheme.kid = STRING::ToHexadecimal (parser.GetKID ());
1278+ protScheme.pssh =
1279+ BASE64::Encode (DRM::PSSH::Make (DRM::ID_PLAYREADY, {}, parser.GetInitData ()));
1280+ protScheme.licenseUrl = parser.GetLicenseURL ();
12831281 }
12841282 }
12851283 }
You can’t perform that action at this time.
0 commit comments