mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1604>
This commit is contained in:
parent
35f1738875
commit
fb076db1b2
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue