浏览代码

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 2 年之前
父节点
当前提交
925888b763
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 		}