add better check for interlaced content (#2620)

This commit is contained in:
Jason Dove
2025-11-10 06:39:04 -06:00
committed by GitHub
parent d9cdbc72de
commit d0505cd5c5
24 changed files with 13870 additions and 20 deletions
@@ -283,6 +283,8 @@ public class TranscodingTests
graphicsElementLoader,
MemoryCache,
Substitute.For<IMpegTsScriptService>(),
Substitute.For<ILocalStatisticsProvider>(),
Substitute.For<IMediaItemRepository>(),
LoggerFactory.CreateLogger<FFmpegLibraryProcessService>());
var songVideoGenerator = new SongVideoGenerator(tempFilePool, mockImageCache, service);
@@ -375,7 +377,7 @@ public class TranscodingTests
ExecutableName("ffprobe"),
true,
channel,
videoVersion,
new MediaItemVideoVersion(song, videoVersion),
new MediaItemAudioVersion(song, songVersion),
videoPath,
file,
@@ -695,7 +697,7 @@ public class TranscodingTests
ExecutableName("ffprobe"),
true,
channel,
v,
new MediaItemVideoVersion(null, v),
new MediaItemAudioVersion(null, v),
file,
file,
@@ -990,6 +992,8 @@ public class TranscodingTests
graphicsElementLoader,
MemoryCache,
Substitute.For<IMpegTsScriptService>(),
Substitute.For<ILocalStatisticsProvider>(),
Substitute.For<IMediaItemRepository>(),
LoggerFactory.CreateLogger<FFmpegLibraryProcessService>());
return service;