saa7134 timeperframe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The saa7134 driver doesn't seem to honor the VIDIOC_G_PARM call. This 
causes nvrec to crash when timeperframe isn't filled out. I'm not 
sure what these fields should be set to, but I took a stab in the 
dark. I assume it depends on the television standard being used. Is 
timeperframe 1/60 (s) for NTSC?

Thanks,
Shaun


--- saa7134-0.2.2/saa7134-video.c       Wed Nov 27 03:18:51 2002
+++ saa7134-0.2.2-sdj/saa7134-video.c   Sat Jan  4 00:46:56 2003
@@ -1648,6 +1648,8 @@
         {
                 struct v4l2_captureparm *parm = arg;
                 memset(parm,0,sizeof(*parm));
+               parm->timeperframe.numerator = 1;
+               parm->timeperframe.denominator = 60;
                 return 0;
         }





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux