diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 553e520a..9f3bfcef 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -4899,7 +4899,7 @@ "presence": "always" }, "sink_video": { - "caps": "video/x-raw:\n", + "caps": "video/x-raw(ANY):\n", "direction": "sink", "presence": "always" }, @@ -4909,7 +4909,7 @@ "presence": "always" }, "src_video": { - "caps": "video/x-raw:\n", + "caps": "video/x-raw(ANY):\n", "direction": "src", "presence": "always" } diff --git a/video/closedcaption/src/transcriberbin/imp.rs b/video/closedcaption/src/transcriberbin/imp.rs index 94638438..e49a7386 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> = 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,