Skip to content

Commit b1e19f1

Browse files
author
RandomEngy
committed
Fixed bug where autocrop was not being applied correctly. Fixed problem with autocrop not updating when different titles are picked. Changed preview window background to a dark gray to highlight black borders around previewed picture.
1 parent c2b13e2 commit b1e19f1

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

Lib/HandBrakeInterop.dll

0 Bytes
Binary file not shown.

Lib/HandBrakeInterop.pdb

0 Bytes
Binary file not shown.

VidCoder/View/PreviewWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</Storyboard>
1616
</Window.Resources>
1717
<Grid>
18-
<Grid Margin="0" Name="previewImageHolder" SizeChanged="previewImageHolder_SizeChanged" Background="Black">
18+
<Grid Margin="0" Name="previewImageHolder" SizeChanged="previewImageHolder_SizeChanged" Background="#222222">
1919
<Image
2020
Name="previewImage" Stretch="Fill" HorizontalAlignment="Left" VerticalAlignment="Top"
2121
Source="{Binding PreviewSource}"

VidCoder/ViewModel/EncodingViewModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2578,6 +2578,10 @@ private void OnMainPropertyChanged(object sender, PropertyChangedEventArgs e)
25782578
this.RefreshOutputSize();
25792579
this.RefreshAudioInput();
25802580
this.NotifyPropertyChanged("HasSourceData");
2581+
this.NotifyPropertyChanged("CropTop");
2582+
this.NotifyPropertyChanged("CropBottom");
2583+
this.NotifyPropertyChanged("CropLeft");
2584+
this.NotifyPropertyChanged("CropRight");
25812585
this.NotifyPropertyChanged("InputSourceResolution");
25822586
this.NotifyPropertyChanged("InputPixelAspectRatio");
25832587
this.NotifyPropertyChanged("InputDisplayResolution");

0 commit comments

Comments
 (0)