Update main.go

This commit is contained in:
Oscar
2020-04-25 01:38:07 +08:00
committed by GitHub
parent abbf90dd80
commit 1c72cef366

View File

@@ -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()
}