bluetooth: aptX: Improve error message for when aptX element is not found

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/561>
This commit is contained in:
Sanchayan Maity 2021-05-19 19:25:08 +05:30
parent 8dbe5f7ad4
commit 94e7cf10f5

View file

@ -39,7 +39,7 @@ static bool can_be_supported(bool for_encoding) {
if (for_encoding) {
element_factory = gst_element_factory_find("openaptxenc");
if (element_factory == NULL) {
pa_log_info("aptX encoder not found");
pa_log_info("aptX encoder element `openaptxenc` not found");
return false;
}
@ -47,7 +47,7 @@ static bool can_be_supported(bool for_encoding) {
} else {
element_factory = gst_element_factory_find("openaptxdec");
if (element_factory == NULL) {
pa_log_info("aptX decoder not found");
pa_log_info("aptX decoder element `openaptxdec` not found");
return false;
}