Skip to content

Commit

Permalink
Fix VideoDB not being Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkl58 committed Dec 16, 2021
1 parent 6a6bc4b commit 2fffb25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NotEnoughAV1Encodes/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ private void ButtonOpenSource_Click(object sender, RoutedEventArgs e)
// Project File Input
try
{
videoDB = new();
string file = openSource.Path;
Queue.QueueElement queueElement = JsonConvert.DeserializeObject<Queue.QueueElement>(File.ReadAllText(file));

Expand Down Expand Up @@ -275,6 +276,7 @@ private void ButtonOpenSource_Click(object sender, RoutedEventArgs e)
else
{
// Single File Input
videoDB = new();
videoDB.InputPath = openSource.Path;
videoDB.ParseMediaInfo();

Expand Down

0 comments on commit 2fffb25

Please sign in to comment.