From a25cfb463d272fc1ea6941d1530b2df13944d270 Mon Sep 17 00:00:00 2001 From: Ahmed Essam Date: Mon, 1 Jan 2024 00:27:09 +0200 Subject: [PATCH] Better error message for missing gstreamer plugin --- modules/videoio/src/cap_gstreamer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_gstreamer.cpp b/modules/videoio/src/cap_gstreamer.cpp index cdaccabe45..41e98794b9 100644 --- a/modules/videoio/src/cap_gstreamer.cpp +++ b/modules/videoio/src/cap_gstreamer.cpp @@ -2820,7 +2820,8 @@ void handleMessage(GstElement * pipeline) if (gst_is_missing_plugin_message(msg)) { - CV_WARN("your GStreamer installation is missing a required plugin"); + CV_WARN("your GStreamer installation is missing a required plugin: " << + gst_missing_plugin_message_get_description(msg)); } else {