From e20b90d80cb2db26f3a2db77d4c4c7c3f6ced106 Mon Sep 17 00:00:00 2001 From: seanavery Date: Mon, 9 Sep 2024 16:27:36 -0400 Subject: [PATCH] Tmp path for fetch --- cam/concater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cam/concater.go b/cam/concater.go index f9091ec..f025b09 100644 --- a/cam/concater.go +++ b/cam/concater.go @@ -131,7 +131,7 @@ func (c *concater) concat(from, to time.Time, metadata, path string) (string, er } else { outputFilename = fmt.Sprintf("%s_%s_%s.%s", c.camName, fromStr, metadata, defaultVideoFormat) } - outputPath := filepath.Join(c.uploadPath, outputFilename) + outputPath := filepath.Join(path, outputFilename) outputPathCStr := C.CString(outputPath) var outputCtx *C.AVFormatContext defer func() {