Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp
index 6f25b563a..a38261e9e 100644
--- a/src/plugins/screencast/screencaststream.cpp
+++ b/src/plugins/screencast/screencaststream.cpp
@@ -107,13 +107,17 @@ void ScreenCastStream::newStreamParams()
SPA_TYPE_OBJECT_ParamMeta, SPA_PARAM_Meta,
SPA_PARAM_META_type, SPA_POD_Id(SPA_META_VideoDamage),
SPA_PARAM_META_size, SPA_POD_CHOICE_RANGE_Int(sizeof(struct spa_meta_region) * videoDamageRegionCount, sizeof(struct spa_meta_region) * 1, sizeof(struct spa_meta_region) * videoDamageRegionCount)),
+ (spa_pod *)spa_pod_builder_add_object(&pod_builder,
+ SPA_TYPE_OBJECT_ParamMeta, SPA_PARAM_Meta,