[mythtv] Wrong time of recordings when using PVR 350

Isaac Richards ijr at po.cwru.edu
Thu Sep 30 13:11:38 EDT 2004


On Thursday 30 September 2004 12:46 pm, John Harvey wrote:
> Isaac
> So i'm assuming then that myth asks the driver if its
> in PAL or NTSC at playback and that you believe the
> driver is getting this wrong in some mode. If so i'll
> try and take a look at this over the next couple of
> days and get a fix to Chris.
>
> I am assuming this check is made somewhere in
> videoout_ivtv.cpp (sorry i'm at work and don't have
> the source code to hand at the moment).

Yup, that's right, though it's in ivtvdecoder.cpp, not videoout_ivtv.cpp.

    v4l2_std_id std = V4L2_STD_NTSC;
    ntsc = true;

    if (ioctl(testfd, VIDIOC_G_STD, &std) < 0)
        perror("VIDIOC_G_STD");
    else
    {
        if (std & V4L2_STD_625_50)
            ntsc = false;
    }

is the code in question from ivtvdecoder.cpp.

Isaac


More information about the mythtv-dev mailing list