Segmentation fault in get_ctrl_by_id
A simple v4l2 full-featured video grabber
Brought to you by:
assisp
Segmentation fault in get_ctrl_by_id.
{ discrete: width = 960, height = 720 }
Time interval between frame: 1/15, 1/10, 1/5,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 2/15, 1/5,
checking muxed H264 format support
device doesn't seem to support uvc H264 (0)
checking format: MJPG
VIDIOC_G_COMP:: Inappropriate ioctl for device
fps is set to 1/25
drawing controls
I create a patch which revice this problem.
I attached.
Nobuhiro Hi,
I think this is not a problem in current git master (guvcview version 2.0):
~~~~~~~~
for(; current != NULL; current = current->next)
{
if(current->control.id == id)
return (current);
}
~~~~~~~
I'm using a null terminated list here, so the for loop finishes if current is null.
I just need to clean up a couple of things before releasing the code.
Debian packaging will change quite a bit in this new version, since I moved most of the code to a couple of shared libraries.
You can have a look here to check how I'm currently packaging this in my ppa.
Best regards,
Paulo
Hi,
2014-09-07 6:04 GMT+09:00 Paulo Assis assisp@users.sf.net:
Yes, this patch is for version_1.7 branch.
Yes, I know.
But I do not seem to be released version 2.0.
When do you release new version or add tag for version 2.0 to git repositiry?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
Nobuhiro Hi,
Just released version 2.0.0, it is tagged in git, source tarball can be found here
Best Regards,
Paulo
Hi!
2014-09-08 7:49 GMT+09:00 Paulo Assis assisp@users.sf.net:
Cool, thanks.
I will upload version 2.0.0 to debian.
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
Fixed since 2.0.0
Thank you.