diff --git a/.github/stale.yml b/.github/stale.yml
index dc90e5a1c..ea2096a4f 100644
--- a/.github/stale.yml
+++ b/.github/stale.yml
@@ -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
@@ -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
diff --git a/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs b/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs
index 23f261074..ee9caa4d9 100644
--- a/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs
+++ b/Unosquare.FFME.Windows.Sample/MainWindow.MediaEvents.cs
@@ -164,7 +164,7 @@ private void OnMediaInitializing(object sender, MediaInitializingEventArgs e)
///
/// The source of the event.
/// The instance containing the event data.
- 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.
@@ -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;
diff --git a/Unosquare.FFME.sln b/Unosquare.FFME.sln
index 3947d7cc3..31e30d334 100644
--- a/Unosquare.FFME.sln
+++ b/Unosquare.FFME.sln
@@ -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
diff --git a/Unosquare.FFME/Commands/CommandManager.Seek.cs b/Unosquare.FFME/Commands/CommandManager.Seek.cs
index ff6f884b0..1305f991a 100644
--- a/Unosquare.FFME/Commands/CommandManager.Seek.cs
+++ b/Unosquare.FFME/Commands/CommandManager.Seek.cs
@@ -5,7 +5,6 @@
using Diagnostics;
using Primitives;
using System;
- using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;