Skip to content

Commit 50efabd

Browse files
committed
Added Preset as an optional Completed queue column.
1 parent d99eeec commit 50efabd

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

VidCoder/Resources/CommonRes.Designer.cs

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VidCoder/Resources/CommonRes.resx

+3
Original file line numberDiff line numberDiff line change
@@ -377,4 +377,7 @@ A full copy of the GNU General Public License has been included along with this
377377
<data name="CompletedColumnNameAverageFps" xml:space="preserve">
378378
<value>Average FPS</value>
379379
</data>
380+
<data name="CompletedColumnNamePreset" xml:space="preserve">
381+
<value>Preset</value>
382+
</data>
380383
</root>

VidCoder/Utilities/Utilities.cs

+1
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ public static string ImageCacheFolder
315315
{"PercentOfSource", 90},
316316
{"VideoDuration", 90},
317317
{"AverageFps", 80},
318+
{"Preset", 120},
318319
};
319320

320321
public static IEncodeProxy CreateEncodeProxy()

VidCoder/View/Main.xaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,12 @@
274274
<DataTemplate x:Key="CompletedTemplateVideoDuration" DataType="viewmodel:EncodeResultViewModel">
275275
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" Text="{Binding Job.DurationDisplay}" />
276276
</DataTemplate>
277-
<DataTemplate x:Key="CompletedTemplateAverageFps" DataType="viewmodel:EncodeResultViewMode">
277+
<DataTemplate x:Key="CompletedTemplateAverageFps" DataType="viewmodel:EncodeResultViewModel">
278278
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" Text="{Binding AverageFpsDisplay}" />
279279
</DataTemplate>
280+
<DataTemplate x:Key="CompletedTemplatePreset" DataType="viewmodel:EncodeResultViewModel">
281+
<TextBlock Style="{DynamicResource TextBlockBaseStyle}" Text="{Binding Job.PresetName}" />
282+
</DataTemplate>
280283
<ContextMenu x:Key="CompletedItemContextMenu" d:DataContext="{d:DesignInstance viewmodel:EncodeResultViewModel}">
281284
<MenuItem Command="{Binding Play}" Header="{x:Static res:MainRes.Play}">
282285
<MenuItem.Icon>

0 commit comments

Comments
 (0)