@ -27,6 +27,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
@@ -27,6 +27,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Improve stability of playback orders `Shuffle` and `Shuffle in Order` over time
- Fix Trakt list sync
- Fix some cases of QSV audio/video desync when *not* seeking by using software decode
- This only applies to content that *might* be problematic (using a heuristic)
@ -233,6 +233,16 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@@ -233,6 +233,16 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@ -248,7 +258,10 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@@ -248,7 +258,10 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
videoPath!=audioPath,// still image when paths are different
scanKind);
scanKind)
{
HasMultipleProfiles=hasMultipleProfiles
};
varvideoInputFile=newVideoInputFile(
videoPath,
@ -405,8 +418,6 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@@ -405,8 +418,6 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@ -652,6 +663,19 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
@@ -652,6 +663,19 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
returnresult;
}
privateasyncTask<bool>ProbeHasMultipleProfiles(
stringffmpegPath,
MediaItemmediaItem,
CancellationTokencancellationToken)
{
_logger.LogDebug("Will probe for h264 profile count");
@ -91,6 +91,14 @@ public class QsvPipelineBuilder : SoftwarePipelineBuilder
@@ -91,6 +91,14 @@ public class QsvPipelineBuilder : SoftwarePipelineBuilder
decodeCapability=FFmpegCapability.Software;
}
// QSV cannot always decode properly when *not* seeking, so check if software is needed
@ -181,6 +181,24 @@ public partial class LocalStatisticsProvider : ILocalStatisticsProvider
@@ -181,6 +181,24 @@ public partial class LocalStatisticsProvider : ILocalStatisticsProvider
@ -336,6 +354,50 @@ public partial class LocalStatisticsProvider : ILocalStatisticsProvider
@@ -336,6 +354,50 @@ public partial class LocalStatisticsProvider : ILocalStatisticsProvider