Skip to content

Commit 8da1db0

Browse files
committed
Fix transitions from unencrypted fragments to encrypted
1 parent 0ec0ab2 commit 8da1db0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/samplereader/FragmentedSampleReader.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,9 @@ void CFragmentedSampleReader::UpdateSampleDescription()
499499
return;
500500
}
501501
}
502+
else {
503+
m_protectedDesc = nullptr;
504+
}
502505

503506
LOG::LogF(LOGDEBUG, "Codec fourcc: %s (%u)", CODEC::FourCCToString(desc->GetFormat()).c_str(),
504507
desc->GetFormat());

0 commit comments

Comments
 (0)