diff --git a/subprojects/gst-plugins-bad/sys/va/gstvadecoder.c b/subprojects/gst-plugins-bad/sys/va/gstvadecoder.c index 1635bb79e8..a6a03c23d1 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvadecoder.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvadecoder.c @@ -328,7 +328,7 @@ gst_va_decoder_set_frame_size_with_surfaces (GstVaDecoder * self, VA_PROGRESSIVE, render_targets, num_render_targets, &context); if (status != VA_STATUS_SUCCESS) { - GST_ERROR_OBJECT (self, "vaDestroyConfig: %s", vaErrorStr (status)); + GST_ERROR_OBJECT (self, "vaCreateContext: %s", vaErrorStr (status)); return FALSE; } diff --git a/subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.c b/subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.c index 46904bfcd9..0afa8d2c04 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvadisplay_priv.c @@ -146,7 +146,7 @@ gst_va_display_has_vpp (GstVaDisplay * self) status = vaQueryConfigEntrypoints (dpy, VAProfileNone, entrypoints, &num); if (status != VA_STATUS_SUCCESS) { - GST_ERROR ("vaQueryImageFormats: %s", vaErrorStr (status)); + GST_ERROR ("vaQueryConfigEntrypoints: %s", vaErrorStr (status)); goto bail; }