Skip to content

Commit 97c00c7

Browse files
author
Clement Champetier
committed
AudioVideo common: don't skip OFX Choice parameter without childs
Can cause problem when instanciate the plugin.
1 parent 170fc00 commit 97c00c7

File tree

1 file changed

+0
-8
lines changed
  • plugins/image/io/AudioVideo/src/common

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ void LibAVParams::fetchLibAVParams( OFX::ImageEffect& plugin, avtranscoder::Opti
122122
}
123123
case avtranscoder::eOptionBaseTypeChoice:
124124
{
125-
// avoid warning of Host when OFX Choice parameter with no choices
126-
if( option.getChilds().empty() )
127-
continue;
128-
129125
// manage exception of video threads parameter: we want to manipulate an OFX Int parameter
130126
if( name == kVideoOptionThreads )
131127
{
@@ -461,10 +457,6 @@ void addOptionsToGroup( OFX::ImageEffectDescriptor& desc, OFX::GroupParamDescrip
461457
}
462458
case avtranscoder::eOptionBaseTypeChoice:
463459
{
464-
// avoid warning of Host when OFX Choice parameter with no choices
465-
if( option.getChilds().empty() )
466-
continue;
467-
468460
// manage exception of video threads parameter: we want to manipulate an OFX Int parameter
469461
if( name == kVideoOptionThreads )
470462
{

0 commit comments

Comments
 (0)