Start writer right after creating it

This commit is contained in:
Frank Schmirler 2012-11-02 09:02:22 +01:00
parent 84db6323a6
commit b614fa0ec3
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- Start writer right after creating it
- Corrected typos (thanks to Ville Skyttä)
- Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by
Uwe@vdrportal)

View File

@ -128,6 +128,7 @@ void cStreamdevStreamer::Start(cTBSocket *Socket)
{
Dprintf("start streamer\n");
m_Writer = new cStreamdevWriter(Socket, this);
m_Writer->Start();
Attach();
}
@ -135,7 +136,6 @@ void cStreamdevStreamer::Activate(bool On)
{
if (On && !Active()) {
Dprintf("activate streamer\n");
m_Writer->Start();
cThread::Start();
}
}