From a1b60be22b4d3ca8f8bf140232b2fc4cd6313488 Mon Sep 17 00:00:00 2001 From: Florian Zwoch Date: Fri, 2 Sep 2022 09:55:20 +0000 Subject: [PATCH] va: Fix log message when registering H264 encoder. The log message would report an error for the H264 decoder when registering failed, but we tried to register the H264 encoder instead. Part-of: --- subprojects/gst-plugins-bad/sys/va/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/va/plugin.c b/subprojects/gst-plugins-bad/sys/va/plugin.c index 2c1d9ce..31c3873 100644 --- a/subprojects/gst-plugins-bad/sys/va/plugin.c +++ b/subprojects/gst-plugins-bad/sys/va/plugin.c @@ -191,7 +191,7 @@ plugin_register_encoders (GstPlugin * plugin, GstVaDevice * device, case H264: if (!gst_va_h264_enc_register (plugin, device, sinkcaps, srccaps, GST_RANK_NONE, entrypoint)) { - GST_WARNING ("Failed to register H264 decoder: %s", + GST_WARNING ("Failed to register H264 encoder: %s", device->render_device_path); } break; -- 2.7.4