mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2974>
This commit is contained in:
parent
4b3b234f72
commit
a1b60be22b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue