Skip to content

Commit d5c821a

Browse files
author
RandomEngy
committed
Updating to HandBrake 4024svn. This should fix problems with corrupted mpeg2 preview images and encodes from mpeg2 sources reporting the wrong progress and reporting as failed. Fixed problem where target sizes over 2048 MB don't work. Updated version numbers.
1 parent 52b99d2 commit d5c821a

11 files changed

Lines changed: 20 additions & 21 deletions

File tree

HandBrakeInterop/HandBrakeInterop/HandBrakeInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public BitmapImage GetPreview(EncodeJob job, int previewNumber)
290290
/// <returns>The video bitrate in kbps.</returns>
291291
public int CalculateBitrate(EncodeJob job, int sizeMB, double overallSelectedLengthSeconds = 0)
292292
{
293-
long availableBytes = sizeMB * 1024 * 1024;
293+
long availableBytes = ((long) sizeMB) * 1024 * 1024;
294294

295295
EncodingProfile profile = job.EncodingProfile;
296296
Title title = this.GetTitle(job.Title);

HandBrakeInterop/HandBrakeInterop/HbLib/Misc.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ public struct hb_state_param_u
188188
[StructLayout(LayoutKind.Sequential)]
189189
public struct hb_state_s
190190
{
191-
192191
/// int
193192
public int state;
194193
public hb_state_param_u param;

HandBrakeInterop/HandBrakeInterop/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.17.0.0")]
36-
[assembly: AssemblyFileVersion("1.17.0.0")]
35+
[assembly: AssemblyVersion("1.18.0.0")]
36+
[assembly: AssemblyFileVersion("1.18.0.0")]

Installer/VidCoder-x64.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[Setup]
55
AppName=VidCoder
6-
AppVerName=VidCoder 0.9.1 (x64)
6+
AppVerName=VidCoder 0.9.2 (x64)
77

88
DefaultDirName={pf}\VidCoder
99
DisableProgramGroupPage=yes
@@ -13,7 +13,7 @@ Compression=lzma
1313
SolidCompression=yes
1414

1515
OutputDir=BuiltInstallers
16-
OutputBaseFilename=VidCoder-0.9.1-x64
16+
OutputBaseFilename=VidCoder-0.9.2-x64
1717

1818
AppId=VidCoder-x64
1919
UsePreviousAppDir=yes

Installer/VidCoder-x86.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[Setup]
55
AppName=VidCoder
6-
AppVerName=VidCoder 0.9.1 (x86)
6+
AppVerName=VidCoder 0.9.2 (x86)
77

88
DefaultDirName={pf}\VidCoder
99
DisableProgramGroupPage=yes
@@ -13,7 +13,7 @@ Compression=lzma
1313
SolidCompression=yes
1414

1515
OutputDir=BuiltInstallers
16-
OutputBaseFilename=VidCoder-0.9.1-x86
16+
OutputBaseFilename=VidCoder-0.9.2-x86
1717

1818
AppId=VidCoder
1919
UsePreviousAppDir=yes

Installer/latest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<UpdateInfo>
22
<Release>
3-
<Latest>0.9.0</Latest>
4-
<DownloadLocation>http://engy.us/VidCoder/VidCoder-0.9.0-x86.exe</DownloadLocation>
5-
<ChangelogLocation>http://vidcoder.codeplex.com/releases/view/67117</ChangelogLocation>
3+
<Latest>0.9.1</Latest>
4+
<DownloadLocation>http://engy.us/VidCoder/VidCoder-0.9.1-x86.exe</DownloadLocation>
5+
<ChangelogLocation>http://vidcoder.codeplex.com/releases/view/67400</ChangelogLocation>
66
</Release>
77
<Release-x64>
8-
<Latest>0.9.0</Latest>
9-
<DownloadLocation>http://engy.us/VidCoder/VidCoder-0.9.0-x64.exe</DownloadLocation>
10-
<ChangelogLocation>http://vidcoder.codeplex.com/releases/view/67117</ChangelogLocation>
8+
<Latest>0.9.1</Latest>
9+
<DownloadLocation>http://engy.us/VidCoder/VidCoder-0.9.1-x64.exe</DownloadLocation>
10+
<ChangelogLocation>http://vidcoder.codeplex.com/releases/view/67400</ChangelogLocation>
1111
</Release-x64>
1212
</UpdateInfo>

Lib/x64/hb.dll

76.4 KB
Binary file not shown.

Lib/x86/hb.dll

73 KB
Binary file not shown.

VidCoder/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("0.9.1.0")]
55-
[assembly: AssemblyFileVersion("0.9.1.0")]
54+
[assembly: AssemblyVersion("0.9.2.0")]
55+
[assembly: AssemblyFileVersion("0.9.2.0")]

VidCoder/View/AboutDialog.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<TextBlock HorizontalAlignment="Left" Name="versionLabel" Text="Version" VerticalAlignment="Top" />
1515
<TextBlock Text="{Binding Version}" Margin="5,0,0,0" Name="versionText" />
1616
</StackPanel>
17-
<TextBlock Height="23" HorizontalAlignment="Left" Margin="171,79,0,0" Name="textBlock3" Text="Based on HandBrake (4011svn)" VerticalAlignment="Top" />
17+
<TextBlock Height="23" HorizontalAlignment="Left" Margin="171,79,0,0" Name="textBlock3" Text="Based on HandBrake (4024svn)" VerticalAlignment="Top" />
1818
<TextBlock Height="23" HorizontalAlignment="Left" Margin="171,108,0,0" Name="textBlock2" Text="© 2010 VidCoder Developers" VerticalAlignment="Top" />
1919
<Label Content="License:" Height="28" HorizontalAlignment="Left" Margin="12,138,0,0" Name="label1" VerticalAlignment="Top" />
2020

0 commit comments

Comments
 (0)