Provide new templates source_resolution_* for burnin text

This commit is contained in:
Petr Kalis 2025-06-24 15:43:10 +02:00
parent 698aca8656
commit 3daa7263ad

View file

@ -757,6 +757,15 @@ class ExtractBurnin(publish.Extractor):
)
})
# burnin source resolution which might be different than on review
repre_source_resolution_width = repre.get("source_resolution_width")
repre_source_resolution_height = repre.get("source_resolution_height")
if repre_source_resolution_width and repre_source_resolution_height:
burnin_data.update({
"source_resolution_width": repre_source_resolution_width,
"source_resolution_height": repre_source_resolution_height
})
def filter_burnins_defs(self, profile, instance):
"""Filter outputs by their values from settings.