Mailing List archive

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

[vdr] Re: Still picture in pre5 - FIX



Hello!

Am Samstag, 6. April 2002 14:15 schrieb Klaus Schmidinger:

> > All right. I tried it with an unpatched dvb driver and the problem
> > remains. Increasing the usleep value won't help, so I changed back to the
> > patched version of dvb/vdr. There is no difference between a osd and
> > osd-less image.
>
> That's odd because I was able to reproduce the problem and with the
> usleep() it was gone. Are you sure you are using the _unpatched_ DVB driver
> (latest CVS version)? Just wondering...

My last checkout was 2002-04-04. I have two versions of the play_iframe 
function in dvb.c to flip easily between the patched and unpatched version:

:-)

//static void
//play_iframe(struct dvb_struct *dvb, u8 *buf, unsigned int len, int nonblock)
//{
//        int i, n=1;
//
//        if (!(dvb->playing&RP_VIDEO)) {
//                AV_StartPlay(dvb, RP_VIDEO);
//                n=MIN_IFRAME/len+1;
//        }
//        dvb_play(dvb, iframe_header, sizeof(iframe_header), 0, 1, 0);
//        for (i=0; i<n; i++)
//                dvb_play(dvb, buf, len, 0, 1, 1);
//        send_ipack_rest(&dvb->ipack[1]);
//}

static void
play_iframe(struct dvb_struct *dvb, u8 *buf, unsigned int len, int nonblock)
{
        int i, n=1;
 
        if (!(dvb->playing&RP_VIDEO)) {
                AV_StartPlay(dvb, RP_VIDEO);
        }
        n=MIN_IFRAME/len+1;
        dvb_play(dvb, iframe_header, sizeof(iframe_header), 0, 1, 0);
        for (i=0; i<n; i++) {
                dvb_play(dvb, buf, len, 0, 1, 1);
                send_ipack_rest(&dvb->ipack[1]);
        }
}

I'll try it again this evening, just to make sure that this is not my fault. 
Do you have VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES defined or not?


Andi

-- 
Web:   http://www.flood-net.de/
Mail:  flood@flood-net.de
Phone: +49-(0)-30-680577-44
Linux opens doors, not windows!
http://www.bundestux.de/   http://counter.li.org/



Home | Main Index | Thread Index