李帅

1.修复一些bug

...@@ -278,7 +278,7 @@ class AdminMakeImmerse implements ShouldQueue ...@@ -278,7 +278,7 @@ class AdminMakeImmerse implements ShouldQueue
278 ]; 278 ];
279 break; 279 break;
280 } 280 }
281 - 281 + try{
282 $FID = $FOD = floatval($component->fade_time / 1000); 282 $FID = $FOD = floatval($component->fade_time / 1000);
283 $round = round($this->media_info['format']['duration'] / count($contents),1); 283 $round = round($this->media_info['format']['duration'] / count($contents),1);
284 if ($round < 1) $round = 1; 284 if ($round < 1) $round = 1;
...@@ -351,6 +351,10 @@ class AdminMakeImmerse implements ShouldQueue ...@@ -351,6 +351,10 @@ class AdminMakeImmerse implements ShouldQueue
351 '", '; 351 '", ';
352 } 352 }
353 } 353 }
354 + }catch (\Exception $exception){
355 + echo $exception->getMessage();
356 + echo $exception->getLine();
357 + }
354 358
355 $drawtext .= $sub_text; 359 $drawtext .= $sub_text;
356 } 360 }
......