Dear all,
My board is dm6446-evm. dmai version is dmai_1_10_00_06, lsp is lsp-120.
I just do a simple test to reopen the capture device, I add
some code at the end of the loop of the video_loopback_copy example:
index++;
if (index == 100) {
printf("change once!\n");
Capture_delete(hCapture);
sleep(1);
hCapture = Capture_create(NULL, &cAttrs);
index = 0;
}
I found that the first "Capture_delete" didn't switch to the kernel release function "vpfe_release" unless the second Capture_create is called!
Same operation in dvsdk/demos will be OK.
This is very strange, please kindly test for this bug. Attachment is my source code.
Thanks you!
Wei Jiang