unosquare / ffmediaelement

FFME: The Advanced WPF MediaElement (based on FFmpeg)
https://unosquare.github.io/ffmediaelement/
Other
1.17k stars 241 forks source link

Change GuiContext from system-wide to a per-element basis #610

Closed ememadegbola closed 2 years ago

ememadegbola commented 2 years ago

A new GUI Context object is now instantiated for each MediaElement and is populated with the current dispatcher. This allows MediaElements to be created on non-UI threads and events will be returned on the correct dispatcher

Proposed fix for #587