This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can I change the output port resolution dynamically?



Hi,

 

I want to know how to change the SC 's output port resolution?  I do as the document say: 

1、 Disable the output port of SC,  disable the inport port of VFDC, and free all the buffers of both ports

2、Set the new param to both ports

3、allocate buffers and enable the ports

But that seems not work, the program just crash.So,  Could you tell me what is the probem? thanks.

BTW, If I just omit the 2th step (nothing change),  the program will not go crash. But If I repeat this serveral times, I got an error message say that my buffers exceed limit when I call the function omx_allocatebuffers.