mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Another audio track# fix
This commit is contained in:
parent
cb7828258c
commit
96abd74060
@ -21985,6 +21985,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (audioTracks.Count <= 1)
|
||||
{
|
||||
_videoAudioTrackNumber = -1;
|
||||
audioTrack = 0;
|
||||
}
|
||||
}
|
||||
catch
|
||||
@ -21993,8 +21994,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
}
|
||||
|
||||
var peakWaveFileName = WavePeakGenerator.GetPeakWaveFileName(fileName, VideoAudioTrackNumber);
|
||||
var spectrogramFolder = WavePeakGenerator.SpectrogramDrawer.GetSpectrogramFolder(fileName, VideoAudioTrackNumber);
|
||||
var peakWaveFileName = WavePeakGenerator.GetPeakWaveFileName(fileName, audioTrack);
|
||||
var spectrogramFolder = WavePeakGenerator.SpectrogramDrawer.GetSpectrogramFolder(fileName, audioTrack);
|
||||
if (File.Exists(peakWaveFileName))
|
||||
{
|
||||
audioVisualizer.ZoomFactor = 1.0;
|
||||
|
Loading…
Reference in New Issue
Block a user