From 9c844acba5b0f2e148cbe155c135ac0dcd27b7c0 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Fri, 29 Nov 2024 19:30:38 +0100 Subject: [PATCH] aws/transcriber: fix unsynced_translate_src_%u presence Part-of: --- docs/plugins/gst_plugins_cache.json | 2 +- net/aws/src/transcriber/imp.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 12cb7f40..581d8541 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -1183,7 +1183,7 @@ "unsynced_translate_src_%%u": { "caps": "application/x-json:\n", "direction": "src", - "presence": "request" + "presence": "sometimes" } }, "properties": { diff --git a/net/aws/src/transcriber/imp.rs b/net/aws/src/transcriber/imp.rs index 4e953182..51745fc1 100644 --- a/net/aws/src/transcriber/imp.rs +++ b/net/aws/src/transcriber/imp.rs @@ -1007,7 +1007,7 @@ impl ElementImpl for Transcriber { let unsynced_sometimes_src_pad_template = gst::PadTemplate::new( "unsynced_translate_src_%u", gst::PadDirection::Src, - gst::PadPresence::Request, + gst::PadPresence::Sometimes, &src_caps, ) .unwrap();