async void StopPlayers() { await _dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { if (InputVideo.CurrentState != MediaElementState.Paused) { InputVideo.Pause(); } if (OutputVideo.CurrentState != MediaElementState.Paused) { OutputVideo.Pause(); } }); }
void InputPauseButton_Click(Object sender, Windows.UI.Xaml.RoutedEventArgs e) { InputVideo.Pause(); }
void InputPauseButton_Click(Object sender, RoutedEventArgs e) { InputVideo.Pause(); }