The attachment is the sample code for nvoverlaysink.
Please copy test.mp4 to /CppSourceFiles. Then, please type make to build the a.out in sample folder. Finally, please go to ArmRelease folder to execute the a.out.
In fact, the sample is using Playback_Play(playback) command to play one video file. After Playback_Stop(playback) and replaying it, the video size become full screen.
Of course, we could also use “pause” to replace “stop”, but the full screen still happened sometimes (1 time happens for 10 times testing).
Can you help to check this issue ?