After Playback_Stop(playback), the video size become full screen

Hello,

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 ?

sample.rar (7.01 KB)
test.rar (11.8 MB)

Hi James,
Please try the test.c attached.
test.cpp (3.1 KB)

Of course, we could also use “pause” to replace “stop”, but the full screen still happened sometimes (1 time happens for 10 times testing).

Oops, it looks like there is still an issue when setting to GST_STATE_READY. Will check this.

Hi James,
We don’t observe the issue in running 50 loops.
Could you try the test.c at your side?
test.cpp (3.13 KB)