Skip to content

Commit

Permalink
minor changes and stale configuration changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mariodivece committed Jun 5, 2021
1 parent 1533c46 commit 468a24f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
daysUntilClose: false
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
Expand All @@ -11,7 +11,6 @@ staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
recent activity. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
4 changes: 2 additions & 2 deletions Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private void OnMediaInitializing(object sender, MediaInitializingEventArgs e)
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="MediaOpeningEventArgs"/> instance containing the event data.</param>
private void OnMediaOpening(object sender, MediaOpeningEventArgs e)
private async void OnMediaOpening(object sender, MediaOpeningEventArgs e)
{
// Capture a reference to the MediaOptions object for real-time change
// This usage of MediaOptions is unsupported.
Expand Down Expand Up @@ -319,7 +319,7 @@ private void OnMediaOpening(object sender, MediaOpeningEventArgs e)
// Since the MediaElement control belongs to the GUI thread
// and the closed captions channel property is a dependency
// property, we need to set it on the GUI thread.
media.Dispatcher?.InvokeAsync(() =>
await media.Dispatcher?.InvokeAsync(() =>
{
media.ClosedCaptionsChannel = videoStream.HasClosedCaptions ?
CaptionsChannel.CC1 : CaptionsChannel.CCP;
Expand Down
2 changes: 2 additions & 0 deletions Unosquare.FFME.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Support", "Support", "{8BF2
docfx.json = docfx.json
Support\ffme.png = Support\ffme.png
Support\ffmeplay.png = Support\ffmeplay.png
.github\ISSUE_TEMPLATE.md = .github\ISSUE_TEMPLATE.md
LICENSE = LICENSE
Support\nugetdoc.md = Support\nugetdoc.md
README.md = README.md
Support\readme.txt = Support\readme.txt
.github\stale.yml = .github\stale.yml
toc.yml = toc.yml
EndProjectSection
EndProject
Expand Down
1 change: 0 additions & 1 deletion Unosquare.FFME/Commands/CommandManager.Seek.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Diagnostics;
using Primitives;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
Expand Down

0 comments on commit 468a24f

Please sign in to comment.