2024-11-27 11:32 AM
I am exploring the video API and I found a strange behaviour.
While testing "Video example", I added a stop button.
I was expecting the stop to update its frame to the start of a video but that did not happen.
I had to *.showFrame(1) to force the update.
If a video is marked as Repeat-able[1], shouldn't stop[2] reset the image to the start of the video?
Note: I cannot test my suggestion as this is par of generated code.
[1] *.setRepeat(true); // *ViewBase
[2] Suggestion:
setCommand( _, STOP, _)
stream.isShowingOneFrame = stream.repeat; // force update on repeat stream?
stream.doDecodeNextFrame = stream.repeat; //
2024-11-29 12:23 PM
Hi Marc_LM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards
Joe
STMicro Support