diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-09-15 00:05:48 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-09-15 00:05:48 +0200 |
| commit | 8277ea3feb44f634248788cc50d2fe355a58a5d6 (patch) | |
| tree | d92ce2f4eb2da76d199494fbd8d8b4912e0afad5 /benchmark_test.go | |
| parent | 05144068b1d5cc48da3bb6584cc2224eefc2fbc7 (diff) | |
| download | mp4-8277ea3feb44f634248788cc50d2fe355a58a5d6.tar.gz mp4-8277ea3feb44f634248788cc50d2fe355a58a5d6.zip | |
test: generate media fixtures locally
Diffstat (limited to 'benchmark_test.go')
| -rw-r--r-- | benchmark_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark_test.go b/benchmark_test.go index 453bdb9..6ccf09f 100644 --- a/benchmark_test.go +++ b/benchmark_test.go @@ -10,7 +10,7 @@ import ( func loadTestFile(b *testing.B) []byte { b.Helper() - data, err := os.ReadFile("video-media-samples/big-buck-bunny-480p-30sec.mp4") + data, err := os.ReadFile("test-data/big-buck-bunny-480p-30sec.mp4") if err != nil { b.Skipf("test file not available: %v", err) } @@ -143,7 +143,7 @@ func BenchmarkWriterBuild(b *testing.B) { } func BenchmarkScannerParse(b *testing.B) { - path := "video-media-samples/big-buck-bunny-480p-30sec.mp4" + path := "test-data/big-buck-bunny-480p-30sec.mp4" f, err := os.Open(path) if err != nil { b.Skipf("test file not available: %v", err) |
