mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -04:00
Fix int size not long enough
This commit is contained in:
parent
af6436c3d8
commit
e80543e0a2
@ -19,7 +19,7 @@ func NewAudioStream(file *FileStream, idx int32) *AudioStream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (as *AudioStream) getOutPath() string {
|
func (as *AudioStream) getOutPath() string {
|
||||||
return fmt.Sprintf("%s/segment-a%d-%%03d.ts", as.file.Out, as.index)
|
return fmt.Sprintf("%s/segment-a%d-%%06d.ts", as.file.Out, as.index)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (as *AudioStream) getTranscodeArgs(segments string) []string {
|
func (as *AudioStream) getTranscodeArgs(segments string) []string {
|
||||||
|
@ -19,7 +19,7 @@ func NewVideoStream(file *FileStream, quality Quality) *VideoStream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (vs *VideoStream) getOutPath() string {
|
func (vs *VideoStream) getOutPath() string {
|
||||||
return fmt.Sprintf("%s/segment-%s-%%03d.ts", vs.file.Out, vs.quality)
|
return fmt.Sprintf("%s/segment-%s-%%06d.ts", vs.file.Out, vs.quality)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (vs *VideoStream) getTranscodeArgs(segments string) []string {
|
func (vs *VideoStream) getTranscodeArgs(segments string) []string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user