mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
fux
This commit is contained in:
parent
e550893489
commit
ffc6ae6af9
1 changed files with 3 additions and 0 deletions
|
@ -166,10 +166,13 @@ $obj->gifDest_deleteInvalidImage = deleteInvalidImage($obj->gifDest);
|
||||||
$obj->webpDest_deleteInvalidImage = deleteInvalidImage($obj->webpDest);
|
$obj->webpDest_deleteInvalidImage = deleteInvalidImage($obj->webpDest);
|
||||||
|
|
||||||
if (!empty($_REQUEST['duration'])) {
|
if (!empty($_REQUEST['duration'])) {
|
||||||
|
_error_log("ReceiveImage: duration NOT empty {$_REQUEST['duration']}");
|
||||||
$duration = $video->getDuration();
|
$duration = $video->getDuration();
|
||||||
if (empty($duration) || $duration === 'EE:EE:EE') {
|
if (empty($duration) || $duration === 'EE:EE:EE') {
|
||||||
|
_error_log("ReceiveImage: duration Line ".__LINE__);
|
||||||
$video->setDuration($_REQUEST['duration']);
|
$video->setDuration($_REQUEST['duration']);
|
||||||
}else if($_REQUEST['duration']!=='EE:EE:EE'){
|
}else if($_REQUEST['duration']!=='EE:EE:EE'){
|
||||||
|
_error_log("ReceiveImage: duration Line ".__LINE__);
|
||||||
$video->setDuration($_REQUEST['duration']);
|
$video->setDuration($_REQUEST['duration']);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue