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.

TDA4VM: Cannot be encoded after adding scaler node

Part Number: TDA4VM

Dear experts,

I am using codec module, I have written a demo of capture + displaym2m + encode, by referring to app_multi_cam_codec demo, add displaym2m output parameters to the graph, The output data of this parameter is mapped and passed to the gstreamer pipeline, and the parameter is dequeued and enqueued in the run graph phase, and the program can run normally and save the camera image. But when I added the scaler node after displaym2m and wanted to save the scaled image, I did the same operation with the scaler node. The program would get stuck in the seventh loop. After my inspection, I found that it was stuck executing the appCodecDeqAppSrc() function. Entering the function, refcount first gets a value of 2 (when I tested without adding a scaler node, refcount first gets a value of 1), and then gets stuck in the first while (refcount > 1) Loop,The SDK I am using is 08_05,Here are some prints I added at relevant points in the code, along with the results:

Regards,
xin