mirror of
https://github.com/oscar-davids/lpmsdemo.git
synced 2025-12-24 12:37:59 +08:00
Update main.go
This commit is contained in:
@@ -213,7 +213,7 @@ func transcode(hlsStream stream.HLSVideoStream) (func(*stream.HLSSegment, bool),
|
||||
srtfile, err := os.Create(srtname)
|
||||
if err == nil { //success
|
||||
fmt.Fprint(srtfile, 1, "\n", "00:00:00.0 --> 00:10:00.0", "\n")
|
||||
fmt.Fprint(srtfile, "Football Match!", "\n")
|
||||
fmt.Fprint(srtfile, "adult content!", "\n")
|
||||
srtfile.Close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user