Skip to main content
doctorclaw
Participant
March 3, 2026
Answered

Bug in field order params in SDK Exporter example

  • March 3, 2026
  • 2 replies
  • 19 views

The field order does not appear to be set correctly in SDK_Exporter_Params.cpp:

		// Field order
exNewParamInfo fieldOrderParam;
exParamValues fieldOrderValues;
safeStrCpy(fieldOrderParam.identifier, 256, ADBEVideoFieldType);
fieldOrderParam.paramType = exParamType_int;
fieldOrderParam.flags = exParamFlag_none;
frameRateValues.value.intValue = seqFieldOrder.mInt32;
fieldOrderValues.disabled = kPrFalse;
fieldOrderValues.hidden = kPrFalse;
fieldOrderParam.paramValues = fieldOrderValues;
exportParamSuite->AddParam( exporterPluginID,
mgroupIndex,
ADBEBasicVideoGroup,
&fieldOrderParam);

The line:

frameRateValues.value.intValue = seqFieldOrder.mInt32;

should be (I think):

fieldOrderValues.value.intValue = prFieldsNone;

 

    Correct answer bbb_999

    Noted! 

    That value does seem to be in the wrong chunk of code, but also seems non-problematic...we’ll adopt your change, thanks!

    2 replies

    bbb_999
    Adobe Employee
    bbb_999Correct answer
    Adobe Employee
    March 3, 2026

    Noted! 

    That value does seem to be in the wrong chunk of code, but also seems non-problematic...we’ll adopt your change, thanks!

    doctorclaw
    Participant
    March 3, 2026

    Hi Bruce,

    We only noticed it because we removed the Upper First/Lower First options (expecting it to be forced to “None”, i.e. progressive output only) for our plugin based on the SDK Exporter,  and one user reported it worked and another didn’t - on closer inspection, we surmised that if fieldOrderValues.value wasn’t being explicitly set, it would contain uninitialized “junk”, which might either be randomly right, or not!

    Thanks,

    DC.

    jamieclarke
    Community Manager
    Community Manager
    March 3, 2026

    Hi ​@doctorclaw -   Thanks for submitting your bug report. We need a few more details to try to help with the issue. Please see, How do I write a bug report?

    cc ​@bbb_999