-
Notifications
You must be signed in to change notification settings - Fork 257
Support Initializing MediaElement on a different thread ? #384
Copy link
Copy link
Closed
Description
support init Mediaelement in Other Thread?
We often initialize a new Media Window with a New STA Thread.
But the current Version 2019.4.30 not support it
Issue Categories
- enhancement
Sugguest
i have tried to make a temp little change, and it seems to run well. I am not sure if it would make bugs.
An official support for it is maybe better.
- AudioRender.cs Updating to 3.0.1 ffmpeg. #2 events +-
//Library.GuiContext.EnqueueInvoke(() =>Application.Current.Exit += OnApplicationExit);
Library.GuiContext.EnqueueInvoke(() => {
Application.Current.Dispatcher.Invoke(() =>
{
Application.Current.Exit += OnApplicationExit;
});
}); - GuiContext.cs
//cancel GuiDispatcher = Application.Current.Dispatcher
Reactions are currently unavailable