On Friday 23 May 2008 04:34:40 Russell Treleaven wrote:
> I just upgraded to 2.6.24-gentoo-r8
>
> Now when loopback is enabled these and probably other v4l2-ctl
> commands fail more or less silently.
> They used to work.
>
> I know I can see more status with the --verbose option
> But since the ioctl fails shouldn't the return code be greater than
> zero.
>
> Password:
> Last login: Wed May 21 20:01:20 2008 from 10.113.255.20
> pvrXp ~ # v4l2-ctl --set-input 2
> pvrXp ~ # echo $?
> 0
> pvrXp ~ # v4l2-ctl --set-ctrl=video_bitrate=2000000
> video_bitrate: Device or resource busy
> pvrXp ~ # echo $?
> 0
> pvrXp ~ #
>
> Thoughts?

The ioctl error code is not returned as the program's error code. But it 
is a very good suggestion to add that. I'll see what I can do.

Regards,

        Hans

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to