Dear all,

Does anyone know how to detect video format (NTSC or PAL) automatically in
driver? I try to use the following code according to the data sheet:

if (btread(BT848_DSTATUS) & BT848_DSTATUS_NUML) { // PAL ???
...
}
else { // NTSC ???
...
}

But the result is not correct unless I use the VIDIOCSCHAN ioctl from user
mode application to set the right value first. I had ever seen that some
Windows drivers have this ability, so is there anything I do wrong? Thanks!

Regards,
Kevin




_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to