summaryrefslogtreecommitdiff
path: root/drivers/ps3
ModeNameSize
-rw-r--r--Makefile287logplain
-rw-r--r--ps3-lpm.c31964logplain
-rw-r--r--ps3-sys-manager.c20938logplain
-rw-r--r--ps3-vuart.c31344logplain
-rw-r--r--ps3av.c28434logplain
-rw-r--r--ps3av_cmd.c24361logplain
-rw-r--r--ps3stor_lib.c9823logplain
-rw-r--r--sys-manager-core.c2032logplain
-rw-r--r--vuart.h2904logplain
tat' width='8%'>
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/bluetooth/a2dp-codec-ldac-gst.c b/src/modules/bluetooth/a2dp-codec-ldac-gst.c
index 036d3b446..749cfbe14 100644
--- a/src/modules/bluetooth/a2dp-codec-ldac-gst.c
+++ b/src/modules/bluetooth/a2dp-codec-ldac-gst.c
@@ -41,10 +41,16 @@ static bool can_be_supported(bool for_encoding) {
element_factory = gst_element_factory_find("ldacenc");
if (element_factory == NULL) {
- pa_log_info("LDAC encoder not found");
+ pa_log_info("LDAC encoder element `ldacenc` not found");
return false;
}
+ gst_object_unref(element_factory);
+ element_factory = gst_element_factory_find("rtpldacpay");
+ if (element_factory == NULL) {
+ pa_log_info("LDAC RTP payloader element `rtpldacpay` not found");
+ return false;
+ }
gst_object_unref(element_factory);
return true;