Mailing List archive

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

[vdr] Re: Playing DVD ?



Hello,

I applied the patch from Oliver Endriss in the DVB driver version 1.0.0. There was one line missing, so I added it. Now it looks like this:

return dvb_aplay(av7110, buf, count, file->f_flags&O_NONBLOCK, 0);
}
#define MIN_IFRAME 400000
static int
play_iframe(av7110_t *av7110, u8 *buf, unsigned int len, int nonblock)
{
int i, n;
if (!(av7110->playing&RP_VIDEO)) {
if (AV_StartPlay(av7110, RP_VIDEO) < 0) {
return -EBUSY;
}
}
n=MIN_IFRAME/len+1; ###this one was missing
for (i=0; i<n; i++)
dvb_play(av7110, buf, len, 0, 1, 1);
dvb_filter_ipack_flush(&av7110->ipack[1]);
return 0;
> }

Now I'm searching for the file where I can enable VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES.

Can you guys please tell me where to do that?

And is it okay that I just added the missing line? The driver afterwards compiled fine and seems to be working.

Thank you

Sebastian



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index