mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix one segment transcode
This commit is contained in:
parent
802a872880
commit
b9c1c766d6
@ -89,7 +89,7 @@ func (ts *Stream) run(start int32) error {
|
||||
)
|
||||
|
||||
var segments_str string
|
||||
if end-start > 0 {
|
||||
if end-start-1 > 0 {
|
||||
// We do not need the first value (start of the transcode)
|
||||
// nor the last one (end of the -to argument)
|
||||
// if we specify one of those, ffmpeg creates a really small segment and
|
||||
|
Loading…
x
Reference in New Issue
Block a user