Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Playing DVD ?
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?
VDR/dvbdevice.c
//#define VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES
#ifdef VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES
video_still_picture sp = { (char *)Data, Length };
CHECK(ioctl(fd_video, VIDEO_STILLPICTURE, &sp));
#else
#define MIN_IFRAME 400000
int set=CurrentRuleset();
UseRuleset(1);
fd_out = fd_video;
for (int i = MIN_IFRAME / Length + 1; i > 0; i--) {
for (int u=0 ; u<Length ;) {
int w=Process(Data+u, Length-u);
if(w<0) { i=MIN_IFRAME; break; } // error
if(w==0) usleep(1);
u+=w;
}
usleep(1); // allows the buffer to be displayed in case the
progress display is active
}
UseRuleset(set);
#endif
I removed the //# and all # but then VDR didn't compile. Then I removed
only the // in the first line and it did compile. Allthough I don't know
if I enabled the VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES feature.
Did I?
Thx
Sebastian
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index