Andy,

I'll try debugging a bit later but I have some additional info that
may help. I made changes that Danielk suggested: modified line 454 of
mpegencoder.cpp in such way
ok = SetV4L2DeviceOptions(chanfd);" to "(void) SetV4L2DeviceOptions(chanfd);

This works without requires_special_pause = true. And picture is not
distorted! With this fix all works as expected. The only little
inconvenience is that I can see all that garbage during channel
switches.

2010/11/14 Andy Walls <[email protected]>:
> You probably should set the "debug=" module parameter to the cx18 and
> see if you see any races in the log.  You'll want to turn on the high
> volume, mailbox, dma, ioctl, warn, and info debug flags.
> See /sbin/modinfo cx18 .
>
> Or you might just want to add a 3 second delay before libmythtv calls
> VIDIOC_ENC_CMD, V4L2_ENC_CMD_START and see if that makes the problem go
> away.  That would indicate a race in the cx18 driver or firmware if the
> problem does go away.

Thanks,
Artem Astafyev

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

Reply via email to