How to set the fence with the video encoder

Please refer to the function document. It should be before NvMediaIEPFeedFrame().