Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Cutting in VDR
Martin Hoffmann wrote:
>
> > > first i want to report a "bug" regarding cutting in vdr 0.83.
> > > When using the 7 and / or 9 keys to steer to a set mark the vdr process
> takes almost all the cpu time :-( - although the mark has been reached and
> olnly one picture is shown.
> > > So pressing 2, to start the cutting process takes longer than it should
> be, unless you leave the "playback" process...
> >
> > Could this be a problem with DMA not being enabled for your harddisk?
> I don't think so, DMA is enabled, and the problem persists only since i
> switched from vdr0.71 to the actual version (including the driver change)
> However while displaying this still picture, where a cut mark has been set,
> and NOT yet pressing "2" makes vdr take that much cpu time - you see - vdr
> and even the driver should have nothing to do at that moment...
> Maybe my first post wasn't so clear to understand ...
Please try the following patch with the original VDR 0.83:
----------------------------------------------------------
--- dvbapi.c 2001/06/26 18:12:10 1.80
+++ dvbapi.c 2001/07/14 09:12:34
@@ -761,6 +761,8 @@
break;
}
}
+ else
+ usleep(1); // this keeps the CPU load low
if (blockInput > 1)
blockInput = 1;
}
@@ -792,6 +794,8 @@
}
}
}
+ else
+ usleep(1); // this keeps the CPU load low
if (blockOutput > 1)
blockOutput = 1;
}
----------------------------------------------------------
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index