Skip to content

Commit e72f521

Browse files
author
Clement Champetier
committed
AudioVideo: fixed fetch of OFX Boolean parameters inside Group
This commit fixes warning messages when loading avreader plugin within sam command line.
1 parent 9aa0323 commit e72f521

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/image/io/AudioVideo/src/common/LibAVParams.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void LibAVParams::fetchLibAVParams(OFX::ImageEffect& plugin, const std::string&
144144
childName += detailedName;
145145
childName += "_";
146146
}
147-
childName += child.getUnit();
147+
childName += option.getName();
148148
childName += common::kPrefixFlag;
149149
childName += child.getName();
150150

@@ -553,7 +553,7 @@ void addOptionsToGroup(OFX::ImageEffectDescriptor& desc, OFX::GroupParamDescript
553553
childName += detailedName;
554554
childName += "_";
555555
}
556-
childName += child.getUnit();
556+
childName += option.getName();
557557
childName += kPrefixFlag;
558558
childName += child.getName();
559559

@@ -722,7 +722,7 @@ void disableOFXParamsForFormatOrCodec(OFX::ImageEffect& plugin, const avtranscod
722722
childName += detailedName;
723723
childName += "_";
724724
}
725-
childName += child.getUnit();
725+
childName += option.getName();
726726
childName += common::kPrefixFlag;
727727
childName += child.getName();
728728

0 commit comments

Comments
 (0)