summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-10 21:04:56 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-15 22:33:26 +0200
commit65fa2b597275214afe918f4ab3096b8de09941d2 (patch)
tree644c93bef895a8130a1564778292f97d45bdb714
parent2ad8161189191b53eefdbfd6e06347640e03b009 (diff)
Fix test to use a file with audio.
m---------test/data0
-rw-r--r--test/time_calculation_test.cc3
2 files changed, 2 insertions, 1 deletions
diff --git a/test/data b/test/data
-Subproject cac986cd46a5ccef0f8bb1c090b921f1efe0fb6
+Subproject 1ac2ee48fbae3eeb95374f3d351ecb598c864f2
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc
index abac4a6bd..c8920a8d4 100644
--- a/test/time_calculation_test.cc
+++ b/test/time_calculation_test.cc
@@ -44,7 +44,7 @@ static string const xml = "<Content>"
"<Type>FFmpeg</Type>"
"<BurnSubtitles>0</BurnSubtitles>"
"<BitsPerPixel>8</BitsPerPixel>"
- "<Path>test/data/red_24.mp4</Path>"
+ "<Path>test/data/red_24_with_sine.mp4</Path>"
"<Digest>2760e03c7251480f7f02c01a907792673784335</Digest>"
"<Position>0</Position>"
"<TrimStart>0</TrimStart>"
@@ -93,6 +93,7 @@ static string const xml = "<Content>"
"<Selected>1</Selected>"
"<Name>und; 2 channels</Name>"
"<Id>1</Id>"
+ "<Index>1</Index>"
"<FrameRate>44100</FrameRate>"
"<Length>44100</Length>"
"<Channels>2</Channels>"