Skip to content
Snippets Groups Projects
Commit 26fb05e9 authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf
Browse files

mmdevice: move MTA initialization to the worker thread

MTA was checked in the Open function. As this function is called from libvlc
thread, this implies that a user of libvlc should have its own thread in MTA
which may not be possible for various reasons.

* MuteSet, VolumeSet, Play, DeviceSelect, Close callback don't require MTA
* Flush, Pause and Start callbacks still require MTA, but as these functions are
  called from VLC internal threads this is a lesser issue

(cherry-picked from 2fa81b6f)
parent 370b1ae8
No related branches found
No related tags found
1 merge request!3777mmdevice: move MTA initialization to the worker thread
Pipeline #353898 passed with stages
in 16 minutes and 32 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment