Skip to main content
Ezgi
Associate III
August 24, 2022
Question

The video widget doesn't work in Ofast optimization.

  • August 24, 2022
  • 1 reply
  • 892 views

Hi,

I have 4 screens for my program. Everything works in O0 optimization. However I noticed that there was a problem about the screen that has a video in Ofast optimization. Just to be sure, I removed the video and everything works fine again. When I debugged to find the issue, I found out that there is something wrong with setVideoBuffer function in DedicatedBufferVideoController.hpp .I'm not sure about the function but there is a problem in VideoWidget.

This topic has been closed for replies.

1 reply

Yoann KLEIN
ST Employee
September 5, 2022

Hello @Ezgi Şanver​ ,

I tried to reproduce the issue you are facing, but without success.

Which board are you using ? And which version of TouchGFX ?

I created a project with 3 different videos running on 3 screens. On the first screen, I enabled O-fast optimization, and on the 2 other screens I enabled Os optimization.

Every thing seems to work like it should.

I'll join my project to this post, so you can try to figure out what is wrong in yours.

/Yoann

Yoann KLEINST Software Developer | TouchGFX