Got wrong batch_id when using nvstreammux with nvstreamdemux

why batch-size is 1 ? from the code, all are 2.