bluetooth: aptX: Improve error message for when aptX element is not found
authorSanchayan Maity <sanchayan@asymptotic.io>
Wed, 19 May 2021 13:55:08 +0000 (19:25 +0530)
committerSanchayan Maity <sanchayan@asymptotic.io>
Wed, 19 May 2021 13:55:08 +0000 (19:25 +0530)
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/561>

src/modules/bluetooth/a2dp-codec-aptx-gst.c

index 3d30d90..93130e4 100644 (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;
         }