mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Start writer right after creating it
This commit is contained in:
parent
84db6323a6
commit
b614fa0ec3
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- Start writer right after creating it
|
||||||
- Corrected typos (thanks to Ville Skyttä)
|
- Corrected typos (thanks to Ville Skyttä)
|
||||||
- Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by
|
- Fixed compiler error in client/device.c with VDR < 1.7.22 (reported by
|
||||||
Uwe@vdrportal)
|
Uwe@vdrportal)
|
||||||
|
@ -128,6 +128,7 @@ void cStreamdevStreamer::Start(cTBSocket *Socket)
|
|||||||
{
|
{
|
||||||
Dprintf("start streamer\n");
|
Dprintf("start streamer\n");
|
||||||
m_Writer = new cStreamdevWriter(Socket, this);
|
m_Writer = new cStreamdevWriter(Socket, this);
|
||||||
|
m_Writer->Start();
|
||||||
Attach();
|
Attach();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -135,7 +136,6 @@ void cStreamdevStreamer::Activate(bool On)
|
|||||||
{
|
{
|
||||||
if (On && !Active()) {
|
if (On && !Active()) {
|
||||||
Dprintf("activate streamer\n");
|
Dprintf("activate streamer\n");
|
||||||
m_Writer->Start();
|
|
||||||
cThread::Start();
|
cThread::Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user