Commit d6de8bcc authored by François Grisez's avatar François Grisez

H265ParameterSetsInserter: use H265NaluType::isKeyFramePart() to detect key frames.

parent 3a0a26d2
Pipeline #384 failed with stage
in 0 seconds
......@@ -124,7 +124,7 @@ void H265ParameterSetsInserter::process(MSQueue *in, MSQueue *out) {
} else if (header.getType() == H265NaluType::Pps) {
replaceParameterSet(_pps, m);
} else {
if ((header.getType() == H265NaluType::IdrWRadl || header.getType() == H265NaluType::IdrNLp)) {
if (header.getType().isKeyFramePart()) {
isKeyFrame = true;
}
ms_queue_put(out, m);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment