va: Fix log message when registering H264 encoder.
authorFlorian Zwoch <fzwoch@gmail.com>
Fri, 2 Sep 2022 09:55:20 +0000 (09:55 +0000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 2 Sep 2022 10:29:11 +0000 (10:29 +0000)
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2974>

subprojects/gst-plugins-bad/sys/va/plugin.c

index 2c1d9ce..31c3873 100644 (file)
@@ -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;