VDR User wrote:
On 6/6/07, Anssi Hannula anssi.hannula@gmail.com wrote:
VDR User wrote:
If a timer is triggered while the mplayer plugin is in use, VDR crashes. This has happened to me about a zillion times now and I'm hoping somebody will fix this! You can use the mplayer plugin after a timer is started no problem. Correct me if I'm wrong but mplayer should never have to take control of the tuner in the first place since it's not required to play a media file.
Free booze to anyone who can fix this incredibly annoying problem once and for all!!
This could be related to the fact that when mplayer-plugin forks mplayer from vdr, the /dev/dvb/adapter* file descriptors are copied as well and are not closed.
Thanks for such a quick reply Anssi! Is that an easy thing to fix?
Attached is a patch for mplayer plugin which closes file descriptors (except 0, 1, 2) when forking mplayer script.