using [VLCAudio setMuted:YES] runs into a deadlock
I finally was able to reproduce the following issue:
Given a VLCMediaPlayer with a running stream (MPEG-TS in my case) using [mediaplayer.audio setMuted:YES];
results in a deadlock. When done on main thread (in an IBAction method) the main thread is deadlocked and the App is not responding anymore. But playback continues.
Pausing the App gives the following backtrace in main thread:
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x0000000181df1c00 libsystem_kernel.dylib`semaphore_wait_trap + 8
frame #1: 0x00000001010ade6c vuplusTV`MuteSet(p_aout=0x0000000111104090, mute=true) at audiounit_ios.m:357 [opt]
frame #2: 0x00000001004233d4 vuplusTV`aout_OutputUnlock [inlined] aout_OutputMuteSet at output.c:654 [opt]
frame #3: 0x00000001004233cc vuplusTV`aout_OutputUnlock(aout=0x0000000111104090) at output.c:699 [opt]
frame #4: 0x0000000100423ae8 vuplusTV`aout_MuteSet(aout=0x0000000111104090, mute=true) at output.c:790 [opt]
frame #5: 0x00000001003ddf80 vuplusTV`libvlc_audio_set_mute(mp=<unavailable>, mute=0) at audio.c:333 [opt]
frame #6: 0x0000000100378d3c vuplusTV`-[MoviePlayerViewController HUDFastForward:](self=0x000000010410b000, _cmd="HUDFastForward:", sender=0x0000000103dde550) at MoviePlayerViewController.m:1767
The above method is what is called at MoviePlayerViewController.m:1767.