Open OrdinaryMagician opened 9 years ago
Here is not implemented pa_context_get_server_info
which returns NULL
, which is then dereferenced in pa_operation_get_state
. One need to make pa_context_get_server_info
to perform what it should do, and return appropriate pa_operation
handle.
For obs-studio, you can try https://github.com/CkNoSFeRaTU/obs-studio/tree/alsa-input which is a branch that supports ALSA devices in OBS.
When adding an input or output source from pulseaudio in obs-studio, the whole thing segfaults. A simple test with ffmpeg recording works fine, so I can confirm my setup is properly configured. Trace information shows all this:
I'm not really very experienced with all this so I can't really tell what the source of the problem could be. All I see is that line 131 in apulse-operation.c is dereferencing a null pointer.