From fb076db1b2a48f7e07bc851c4d4f72a3d269a109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sat, 29 Jan 2022 19:36:16 +0100 Subject: [PATCH] gst-inspect: Enhance auto-install-info output for De/Encryptor class Without this it is not possible to lookup which plugin handles a specific encrypted mimetype (e.g. application/x-cenc or application/x-aavd). Part-of: --- subprojects/gstreamer/tools/gst-inspect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subprojects/gstreamer/tools/gst-inspect.c b/subprojects/gstreamer/tools/gst-inspect.c index b8550eac6b..094cdc7c2c 100644 --- a/subprojects/gstreamer/tools/gst-inspect.c +++ b/subprojects/gstreamer/tools/gst-inspect.c @@ -1884,11 +1884,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) if (strstr (klass, "Demuxer") || strstr (klass, "Decoder") || + strstr (klass, "Decryptor") || strstr (klass, "Depay") || strstr (klass, "Parser")) { type_name = "decoder"; direction = GST_PAD_SINK; } else if (strstr (klass, "Muxer") || - strstr (klass, "Encoder") || strstr (klass, "Pay")) { + strstr (klass, "Encoder") || + strstr (klass, "Encryptor") || strstr (klass, "Pay")) { type_name = "encoder"; direction = GST_PAD_SRC; } else {