mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
- next try :-) (locking problem)
This commit is contained in:
parent
11dd989dfb
commit
4f85a010cd
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: streamer.c,v 1.10 2005/04/27 17:55:43 lordjaxom Exp $
|
* $Id: streamer.c,v 1.11 2005/04/27 19:43:09 lordjaxom Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/ringbuffer.h>
|
#include <vdr/ringbuffer.h>
|
||||||
@ -63,7 +63,6 @@ void cStreamdevWriter::Action(void)
|
|||||||
}
|
}
|
||||||
m_Active = false;
|
m_Active = false;
|
||||||
Dprintf("Max. Transmit Blocksize was: %d\n", max);
|
Dprintf("Max. Transmit Blocksize was: %d\n", max);
|
||||||
m_Streamer->Stop();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- cStreamdevStreamer -----------------------------------------------------
|
// --- cStreamdevStreamer -----------------------------------------------------
|
||||||
@ -107,7 +106,6 @@ void cStreamdevStreamer::Activate(bool On)
|
|||||||
|
|
||||||
void cStreamdevStreamer::Stop(void)
|
void cStreamdevStreamer::Stop(void)
|
||||||
{
|
{
|
||||||
Lock();
|
|
||||||
if (m_Active) {
|
if (m_Active) {
|
||||||
Dprintf("stopping streamer\n");
|
Dprintf("stopping streamer\n");
|
||||||
m_Active = false;
|
m_Active = false;
|
||||||
@ -118,7 +116,6 @@ void cStreamdevStreamer::Stop(void)
|
|||||||
m_Running = false;
|
m_Running = false;
|
||||||
DELETENULL(m_Writer);
|
DELETENULL(m_Writer);
|
||||||
}
|
}
|
||||||
Unlock();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cStreamdevStreamer::Action(void)
|
void cStreamdevStreamer::Action(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user