增加H264 265选择

This commit is contained in:
jianzhichu
2026-01-25 21:34:17 +08:00
parent b63621593b
commit 66093d3ed0
5 changed files with 6 additions and 5 deletions
+1
View File
@@ -33,6 +33,7 @@ namespace dy.net.service
}
conf.IsFirstRunning = true;//标记为程序刚启动第一次运行
conf.AutoDistinct = true;
if(!conf.VideoEncoder.HasValue)
conf.VideoEncoder = 264;
sqlSugarClient.Updateable(conf).ExecuteCommand();
//兼容旧版本
+1 -1
View File
@@ -838,7 +838,7 @@ namespace dy.net.service
/// <summary>
/// 单次下载尝试(核心下载逻辑)
/// </summary>
private async Task<(bool Success, string ActualSavePath)> TryDownloadOnceAsync(
private async Task<(bool Success, string ActualSavePath)> TryDownloadOnceAsync(
string videoUrl,
string savePath,
string cookie,