summaryrefslogtreecommitdiff
path: root/recording
diff options
context:
space:
mode:
Diffstat (limited to 'recording')
-rw-r--r--recording/runner.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording/runner.go b/recording/runner.go
index fe7aa21..1f2f101 100644
--- a/recording/runner.go
+++ b/recording/runner.go
@@ -28,7 +28,7 @@ type TaskResult struct {
Error error
}
-const kSpecialExtName = "partial"
+const SpecialExtName = "partial"
var errLiveEnded = common.NewRecoverableTaskError("live is ended", nil)
@@ -281,7 +281,7 @@ func record(
originalExtName := mo.TupleToResult(myurl.Url(streamSource.URL).FileExtension()).OrElse("flv")
if task.Download.UseSpecialExtNameBeforeFinishing {
- extName = kSpecialExtName
+ extName = SpecialExtName
} else {
extName = originalExtName
}