Skip to content

Commit

Permalink
Merge pull request #10464 from kaltura/anatolkaltura-patch-75
Browse files Browse the repository at this point in the history
Allow CE process short contents
  • Loading branch information
anatolkaltura committed Feb 4, 2021
2 parents d8ce69d + c9ccbff commit 6774e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/chunkedEncode/KChunkedEncode.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static public function verifySupport($vcodec, $acodec=null, $format, $fps, $gop,

/*
* Verify session duration - it should be at least twice the chunk duration
*/
*
if(isset($height)) {
$minimalDuration = KChunkedEncodeSetup::calculateChunkDuration($height)*2;
if($duration<$minimalDuration){
Expand All @@ -305,7 +305,7 @@ static public function verifySupport($vcodec, $acodec=null, $format, $fps, $gop,
else if($duration<180){
KalturaLog::log($msgStr="UNSUPPORTED: duration ($duration) too short, must be at least 180sec");
return false;
}
}*/

return true;
}
Expand Down

0 comments on commit 6774e91

Please sign in to comment.