aws/transcriber: fix unsynced_translate_src_%u presence

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1930>
This commit is contained in:
Mathieu Duponchelle 2024-11-29 19:30:38 +01:00 committed by GStreamer Marge Bot
parent 01b3e2a8f2
commit 9c844acba5
2 changed files with 2 additions and 2 deletions

View file

@ -1183,7 +1183,7 @@
"unsynced_translate_src_%%u": {
"caps": "application/x-json:\n",
"direction": "src",
"presence": "request"
"presence": "sometimes"
}
},
"properties": {

View file

@ -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();