Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2023-04-07 19:51:12 +0300
committerSeungha Yang <seungha@centricular.com>2023-04-07 20:40:49 +0300
commit6e36e2ddfdba70f0514f21709aa2bb264ad92b47 (patch)
treefdd7b1c27c57119bdefa0c6aacd8abf17b3fb0ee /video
parentc8461472750f9127eb79715205e81b7eca6f45a3 (diff)
transcriberbin: Allow video with ANY caps features
transcriberbin does not read/write video buffers actually. Allow ANY caps features in order to avoid unnecessary GPU upload/download Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1165>
Diffstat (limited to 'video')
-rw-r--r--video/closedcaption/src/transcriberbin/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/closedcaption/src/transcriberbin/imp.rs b/video/closedcaption/src/transcriberbin/imp.rs
index 94638438e..e49a7386e 100644
--- a/video/closedcaption/src/transcriberbin/imp.rs
+++ b/video/closedcaption/src/transcriberbin/imp.rs
@@ -1103,7 +1103,7 @@ impl ElementImpl for TranscriberBin {
fn pad_templates() -> &'static [gst::PadTemplate] {
static PAD_TEMPLATES: Lazy<Vec<gst::PadTemplate>> = Lazy::new(|| {
- let caps = gst::Caps::builder("video/x-raw").build();
+ let caps = gst::Caps::builder("video/x-raw").any_features().build();
let video_src_pad_template = gst::PadTemplate::new(
"src_video",
gst::PadDirection::Src,