音频类型输出后缀默认为m4a
This commit is contained in:
parent
9fd43f1c4d
commit
9fa3afca78
|
@ -74,6 +74,9 @@ namespace N_m3u8DL_RE.DownloadManager
|
|||
FileDic[streamSpec.Playlist.MediaInit] = result;
|
||||
task.Increment(1);
|
||||
//修改输出后缀
|
||||
if (streamSpec.MediaType == Common.Enum.MediaType.AUDIO)
|
||||
output = Path.ChangeExtension(output, ".m4a");
|
||||
else
|
||||
output = Path.ChangeExtension(output, ".mp4");
|
||||
if (result != null && result.Success)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue