diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-06-12 00:54:04 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-06-13 01:47:48 +0200 |
commit | 5e6af47dc87a55fea595c952ea3e59c93d0620db (patch) | |
tree | 7bdfcba0807252150d8ff0e095e6b65ccc1dbf8c /dbaccess/Library_dbu.mk | |
parent | 2dc6bdd1d5789ace0500cad90f5d2eb930888bb9 (diff) |
tdf#125821 don't crash on missing gstreamer plugins
If GStreamer can't auto-detect an audio sink via "autoaudiosink",
it'll return a nullptr. If the volume plugin is missing, then this
currently also results in a crash.
So check the gst_element_factory_make results before using the
objects and change some wrong mpPlaybin checks to the right
mpVolumeControl ones.
This works for me without any audio and volume plugins. Since we
are linked against libgstaudio, I assume the bin is always there.
Change-Id: Ide526363d810ea48d0a62539c0a435553783e34a
Reviewed-on: https://gerrit.libreoffice.org/73848
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'dbaccess/Library_dbu.mk')
0 files changed, 0 insertions, 0 deletions