Skip to content

Commit 7bdddd3

Browse files
committed
4.8.1.0 resolve bug
Video/AVI from VirtualDub cannot convert.
1 parent 1141691 commit 7bdddd3

File tree

8 files changed

+67
-38
lines changed

8 files changed

+67
-38
lines changed

ifme/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
// by using the '*' as shown below:
3535
// [assembly: AssemblyVersion("1.0.*")]
3636
[assembly: AssemblyVersion("4.8.*")]
37-
[assembly: AssemblyFileVersion("4.8.0.0")]
37+
[assembly: AssemblyFileVersion("4.8.1.0")]
3838
[assembly: NeutralResourcesLanguageAttribute("en")]

ifme/Properties/Resources.Designer.cs

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ifme/Properties/Resources.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,7 @@
155155
<data name="SplashScreen01_Ifumii" type="System.Resources.ResXFileRef, System.Windows.Forms">
156156
<value>..\Resources\SplashScreen01-Ifumii.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
157157
</data>
158+
<data name="btn_donate_SM" type="System.Resources.ResXFileRef, System.Windows.Forms">
159+
<value>..\Resources\btn_donate_SM.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
160+
</data>
158161
</root>

ifme/Resources/btn_donate_SM.gif

1.46 KB
Loading

ifme/addons/null/addon.ini

Lines changed: 0 additions & 26 deletions
This file was deleted.

ifme/frmMain.Designer.cs

Lines changed: 32 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ifme/frmMain.cs

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,6 @@ private void frmMain_Load(object sender, EventArgs e)
159159
// Load Settings
160160
UserSettingsLoad();
161161

162-
// Add something
163-
PrintLog(Log.Info, "---\n\nIFME is useful to you, it helps save your disk space? Show us your support by donation or improve to make it better! Copy this link to support us: http://goo.gl/HQtWcH \n");
164-
PrintLog(Log.Info, "---");
165-
166162
// Display console
167163
tabEncoding.SelectedTab = tabStatus;
168164
}
@@ -1236,8 +1232,13 @@ private void BGThread_DoWork(object sender, DoWorkEventArgs e)
12361232
{
12371233
// Capture MediaInfo Audio ID and assigned to FFmpeg Map ID
12381234
int[] AudioMapID = new int[1024];
1239-
for (int i = 0; i < audio.Count; i++)
1240-
AudioMapID[i] = audio[i].Id - 1; //FFmpeg uses zero based index
1235+
1236+
if(video[0].Id == 0 || audio[0].Id == 0 || audio[0].Id == 1)
1237+
for (int i = 0; i < audio.Count; i++)
1238+
AudioMapID[i] = audio[i].Id;
1239+
else
1240+
for (int i = 0; i < audio.Count; i++)
1241+
AudioMapID[i] = audio[i].Id - 1; //FFmpeg uses zero based index
12411242

12421243
// Decode Audio
12431244
switch (AudMode)
@@ -2105,5 +2106,15 @@ public void PrintLog(int type, string message)
21052106
rtfLog.SelectedText = "] " + message + "\n";
21062107
}
21072108
#endregion
2109+
2110+
private void pictDonate_Click(object sender, EventArgs e)
2111+
{
2112+
System.Diagnostics.Process.Start("http://goo.gl/HQtWcH");
2113+
}
2114+
2115+
private void btnAdvanceHelp_Click(object sender, EventArgs e)
2116+
{
2117+
System.Diagnostics.Process.Start("http://x265.readthedocs.org/en/default/");
2118+
}
21082119
}
2109-
}
2120+
}

ifme/ifme.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@
139139
</EmbeddedResource>
140140
</ItemGroup>
141141
<ItemGroup>
142-
<None Include="addons\null\addon.ini">
143-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
144-
</None>
145142
<None Include="app.config" />
146143
<None Include="iso.gg">
147144
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
@@ -235,6 +232,9 @@
235232
<ItemGroup>
236233
<None Include="Resources\ifme_flat.ico" />
237234
</ItemGroup>
235+
<ItemGroup>
236+
<None Include="Resources\btn_donate_SM.gif" />
237+
</ItemGroup>
238238
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
239239
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
240240
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)