On Friday 25 April 2008 20:57:35 PB wrote:
> Hello,
>
> I tried to send VIDEO_COMMAND ioctl with cmd = VIDEO_CMD_PLAY and
> play.speed = 500 before writing anything to the device and got a
> division by zero kernel
> oops.
> When ivtv device is closed (or just stopped), it set itv.speed to 0.
> Shouldn't it be set to 1000 like it is just after module loading ?
> Regards,
> Pierre
Hi Pierre,
This is indeed a bug. The fix is simple: add the following line to the
top of ivtv_validate_speed():
if (cur_speed == 0) cur_speed = 1000;
That should do the trick.
I'm queueing it for inclusion with 2.6.26. Let me know if it is
important for you that it is included in a 2.6.25 dot-release as well.
Regards,
Hans
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel