Skip to content

Commit 70c9838

Browse files
author
RandomEngy
committed
Bit of cleanup...
1 parent b1e19f1 commit 70c9838

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

VidCoder/ViewModel/EncodingViewModel.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,6 @@ public bool HasAudioTracks
16611661
get
16621662
{
16631663
return this.AudioOutputPreviews.Count > 0;
1664-
//return this.AudioEncodings.Count > 0;
16651664
}
16661665
}
16671666

@@ -2540,16 +2539,6 @@ private void NotifyAllChanged()
25402539
this.automaticChange = false;
25412540
}
25422541

2543-
private int CalculateWidth(int height, double displayAspectRatio, int cropping)
2544-
{
2545-
return this.GetNearestValue((int)(height * displayAspectRatio) - cropping, 16);
2546-
}
2547-
2548-
private int CalculateHeight(int width, double displayAspectRatio, int cropping)
2549-
{
2550-
return this.GetNearestValue((int)(width / displayAspectRatio) - cropping, 16);
2551-
}
2552-
25532542
private void PopulatePixelAspect()
25542543
{
25552544
if (this.SelectedTitle == null)

VidCoder/ViewModel/MainViewModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@ public bool AngleVisible
695695
{
696696
get
697697
{
698-
return true;
699698
return this.SelectedTitle != null && this.SelectedTitle.AngleCount > 1;
700699
}
701700
}

0 commit comments

Comments
 (0)