Skip to content

Commit 6b8cb37

Browse files
authored
Merge pull request #1790 from glennguy/fix_unencrypted_transition
[FragmentedSampleReader] Fix transitions from unencrypted fragments to encrypted
2 parents 0ec0ab2 + 8da1db0 commit 6b8cb37

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)