Hi, I've made another patch to vdr 1.4.5. Now I have used your suggestion, and the patch seems to be stable. http://tux.dpeddi.com/lr319sta/downloads/vdr_1.4.5_eddi-multiple-frontend_v2 .patch At the moment I've tested it only with live view. Klaus, please look at this patch again and tell me what do you think. However I'm sure that what I'm done can be optimized. Best regards Eddi > -----Messaggio originale----- > Da: vdr-bounces@xxxxxxxxxxx [mailto:vdr-bounces@xxxxxxxxxxx] Per conto di > Eddi > Inviato: venerd? 9 febbraio 2007 14.28 > A: 'VDR Mailing List' > Oggetto: R: [PATCH]: VDR & Multiple frontends > > Ok, I hope that what I have done, may describe the algorithm that I think > may be necessary to get multiple frontend working. > I know that the solution I choose are not the best and right, I'm not a > c++ > programmer! > > The only solution I found to close all file descriptors and > /dev/dvb/adapter0/frontend0 was to add the close fd_frontend to the dvb > device destructor. > > Eddi > > > -----Messaggio originale----- > > Da: vdr-bounces@xxxxxxxxxxx [mailto:vdr-bounces@xxxxxxxxxxx] Per conto > di > > Klaus Schmidinger > > Inviato: venerd? 9 febbraio 2007 13.43 > > A: vdr@xxxxxxxxxxx > > Oggetto: Re: [PATCH]: VDR & Multiple frontends > > > > Eddi wrote: > > > So what do you think should be the right way? > > > > I haven't decided yet how to do that. > > > > I just wanted to let you know that deleting the cDvbDevice > > is not the way to go - especially if you delete it from within > > one of its own member functions ;-) It's no wonder your patched > > version fails it you saw off the branch you're sitting on. > > > > Klaus > > > > >> -----Messaggio originale----- > > >> Da: vdr-bounces@xxxxxxxxxxx [mailto:vdr-bounces@xxxxxxxxxxx] Per > conto > > di > > >> Klaus Schmidinger > > >> Inviato: venerd? 9 febbraio 2007 8.27 > > >> A: vdr@xxxxxxxxxxx > > >> Oggetto: Re: R: [PATCH] R: R: VDR & Multiple frontends > > >> > > >> Eddi wrote: > > >>> I need help.... > > >>> > > >>> This is why sometimes hangs after my patch... > > >>> > > >>> On ProvidesChannel I delete the cDvbDevice and i make it again. > > >> Deleting the cDvbDevice is definitely the wrong way to do this. > > >> > > >> Klaus > > > > _______________________________________________ > > vdr mailing list > > vdr@xxxxxxxxxxx > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > _______________________________________________ > vdr mailing list > vdr@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr -------------- next part -------------- A non-text attachment was scrubbed... Name: vdr_1.4.5_eddi-multiple-frontend_v2.patch Type: application/octet-stream Size: 15594 bytes Desc: not available Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070210/3b850366/vdr_1.4.5_eddi-multiple-frontend_v2-0001.obj