Changing resolution of egl output stream in runtimeag

Hi,
This is not supported by default. For changing resolution, you would need to terminate the current application and re-launch it with new resolution.

One possible solution is to get NvBuffer and render through NvEglRender. You can get NvBuffer by calling createNvBuffer(). If resolution changes, can destroy the current NvBuffer and call createNvBuffer() with new resolution. Also need to re-initialize NvEglRender with new resolution.

1 Like