Skip to content

Commit

Permalink
v1.2.9.2-alpha
Browse files Browse the repository at this point in the history
Changed Priority of Video Filters Size and Crop
Fixed Codec Copy Controls
  • Loading branch information
MattMcManis committed Feb 13, 2019
1 parent 43f8d9d commit 3dbc4b2
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.9.1-alpha
1.2.9.2-alpha
10 changes: 6 additions & 4 deletions source/Axiom/Axiom/Filters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -694,16 +694,18 @@ public static String VideoFilter(MainWindow mainwindow)
// --------------------------------------------------
// Add Each Filter to Master Filters List
// --------------------------------------------------
// -------------------------
// Resize
// -------------------------
Video.Size(mainwindow);

// -------------------------
// Crop
// -------------------------
Video.Crop(mainwindow, Video.cropwindow);

// -------------------------
// Resize
// -------------------------
Video.Size(mainwindow);


// -------------------------
// PNG to JPEG
// -------------------------
Expand Down
4 changes: 2 additions & 2 deletions source/Axiom/Axiom/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.9.1")]
[assembly: AssemblyFileVersion("1.2.9.1")]
[assembly: AssemblyVersion("1.2.9.2")]
[assembly: AssemblyFileVersion("1.2.9.2")]
28 changes: 19 additions & 9 deletions source/Axiom/Axiom/VideoControls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2202,6 +2202,11 @@ public static void PixelFormat(MainWindow mainwindow)
{
mainwindow.cboPixelFormat.SelectedItem = "yuv444p";
}
// Auto
else if ((string)mainwindow.cboVideoQuality.SelectedItem == "Auto")
{
mainwindow.cboPixelFormat.SelectedItem = "auto";
}
// All Other Quality
else
{
Expand All @@ -2220,7 +2225,7 @@ public static void PixelFormat(MainWindow mainwindow)

// Lossless can't be yuv444p
// All Pixel Formats yuv420p
mainwindow.cboPixelFormat.SelectedItem = "yuv420p";
mainwindow.cboPixelFormat.SelectedItem = "yuv420p";
}

// -------------------------
Expand Down Expand Up @@ -2253,6 +2258,11 @@ public static void PixelFormat(MainWindow mainwindow)
{
mainwindow.cboPixelFormat.SelectedItem = "bgra";
}
// Auto
else if ((string)mainwindow.cboVideoQuality.SelectedItem == "Auto")
{
mainwindow.cboPixelFormat.SelectedItem = "auto";
}
// All Other Quality
else
{
Expand All @@ -2277,6 +2287,14 @@ public static void PixelFormat(MainWindow mainwindow)
mainwindow.cboPixelFormat.IsEnabled = false;
mainwindow.cboPixelFormat.SelectedItem = "auto";
}

//// -------------------------
//// Auto
//// -------------------------
//if ((string)mainwindow.cboVideoQuality.SelectedItem == "Auto")
//{
// mainwindow.cboPixelFormat.SelectedItem = "auto";
//}
}

// -------------------------
Expand All @@ -2287,14 +2305,6 @@ public static void PixelFormat(MainWindow mainwindow)
mainwindow.cboPixelFormat.SelectedItem = "auto";
mainwindow.cboPixelFormat.IsEnabled = false;
}

// -------------------------
// Auto
// -------------------------
if ((string)mainwindow.cboVideoQuality.SelectedItem == "Auto")
{
mainwindow.cboPixelFormat.SelectedItem = "auto";
}
}


Expand Down

0 comments on commit 3dbc4b2

Please sign in to comment.