pvrXp bin # ivtv-ctl --get-yuv-mode
Unable to switch to user DMA YUV mode
pvrXp bin # echo $?
1

In the first example we see that the return code is greater than zero
which is good
But I would think it should be possible to query the state of the ioctl
while loopback is enabled

pvrXp bin # ivtv-ctl -K0
ioctl IVTV_IOC_PASSTHROUGH ok
pvrXp bin # ivtv-ctl --get-yuv-mode
ioctl VIDIOC_G_FMT ok
Current yuv_mode 4 Interlaced
pvrXp bin # echo $?
0
pvrXp bin # ivtv-ctl -K1
ioctl IVTV_IOC_PASSTHROUGH failed: Device or resource busy
pvrXp bin #

In the second example we see that querying the yuv mode succeeded
but we can't enable looback afterword.





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

Reply via email to