Explorar o código

linux-pipewire: Fix wrong error message

In the non-DMA path, we are logging an error message saying that
the DMA format is wrong. That's not the DMA format, it's the raw
buffer format.

Fix the message.
Georges Basile Stavracas Neto %!s(int64=2) %!d(string=hai) anos
pai
achega
925888b763
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/linux-pipewire/pipewire.c

+ 1 - 1
plugins/linux-pipewire/pipewire.c

@@ -581,7 +581,7 @@ static void on_process_cb(void *user_data)
 			    obs_pw->format.info.raw.format, NULL, &gs_format,
 			    &swap_red_blue)) {
 			blog(LOG_ERROR,
-			     "[pipewire] unsupported DMA buffer format: %d",
+			     "[pipewire] unsupported buffer format: %d",
 			     obs_pw->format.info.raw.format);
 			goto read_metadata;
 		}