Skip to content

Commit 0662e5e

Browse files
committed
Update thumb.php
1 parent 3ec3ffb commit 0662e5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/thumb/thumb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
//-rtsp_transport tcp // -rtsp_transport tcp
8181
$stream_options = '-timelimit 15 -y -i ' . escapeshellarg($url) . ($resize) . ' -r 5 -f image2 -vframes 1'; //-ss 00:00:01.500
8282
if ($debug_mode) {
83-
$stream_options = '-v verbose ' . escapeshellarg($stream_options);
83+
$stream_options = '-v verbose ' . $stream_options;
8484
}
8585
if ($transport) {
86-
$stream_options = '-rtsp_transport ' . escapeshellarg($transport) . ' ' . escapeshellarg($stream_options);
86+
$stream_options = '-rtsp_transport ' . escapeshellarg($transport) . ' ' . $stream_options;
8787
}
8888
$cmd = PATH_TO_FFMPEG . ' ' . $stream_options . ' ' . escapeshellarg($img);
8989

0 commit comments

Comments
 (0)