[vdr] Memory access error while attach player?
Klaus Schmidinger
Klaus.Schmidinger at cadsoft.de
Wed Dec 14 17:19:50 CET 2005
Patrick Fischer wrote:
> so I need to place the call at MainMenuAction or something similar?
> Thats not what I want. I start a Thread in Start() which is listen to a
> xmlrpc connection.
> If i get an "start Replay X" event from a xmlrpc Server, then I want to
> start a replay.
> In this case I have to put my sockets to a thread but from a thread I
> can't start a replay :-(
> Is the only way to use the svdrp? I can implement an own command which
> take my params, but this is a winded way, isn't it?
>
> Patrick
You could remove the
cControl::Attach();
call from your code (this is done in VDR's main loop in the
foreground thread) and add a mutex to cControl that guards
all calls to its member functions.
Klaus
More information about the vdr
mailing list