Skip to content

Commit aa18456

Browse files
committed
Fix compile warning, more host properties
1 parent 5595012 commit aa18456

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/modules/openfx/mlt_openfx.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static OfxStatus clipGetImage(OfxImageClipHandle clip,
115115
*imageHandle = (OfxPropertySetHandle) mlt_properties_get_properties((mlt_properties) clip,
116116
"props");
117117
if (region != NULL) {
118-
const OfxRectI rect = {0, 0, 0, 0};
118+
OfxRectI rect = {0, 0, 0, 0};
119119
propGetIntN((OfxPropertySetHandle) *imageHandle, kOfxImagePropBounds, 4, &rect.x1);
120120
OfxRectD *region2 = (OfxRectD *) region;
121121
region2->x1 = (double) rect.x1;
@@ -1580,6 +1580,9 @@ void mltofx_init_host_properties(OfxPropertySetHandle host_properties)
15801580
propSetInt(host_properties, kOfxImageEffectHostPropIsBackground, 0, 1);
15811581
propSetInt(host_properties, kOfxImageEffectPropSupportsMultipleClipDepths, 0, 0);
15821582
propSetInt(host_properties, kOfxImageEffectPropSupportsMultipleClipPARs, 0, 0);
1583+
propSetInt(host_properties, kOfxImageEffectPropSupportsMultiResolution, 0, 0);
1584+
propSetInt(host_properties, kOfxImageEffectPropSupportsTiles, 0, 0);
1585+
propSetInt(host_properties, kOfxImageEffectPropTemporalClipAccess, 0, 0);
15831586
propSetInt(host_properties, kOfxImageEffectPropSetableFrameRate, 0, 0);
15841587
propSetInt(host_properties, kOfxImageEffectPropSetableFielding, 0, 0);
15851588
propSetInt(host_properties, kOfxImageEffectInstancePropSequentialRender, 0, 0);

0 commit comments

Comments
 (0)