mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
- deleting whole block instead of fractions now
This commit is contained in:
parent
32c1bf7c8b
commit
3eec47314d
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: streamer.c,v 1.12 2005/04/30 14:59:56 lordjaxom Exp $
|
* $Id: streamer.c,v 1.13 2005/04/30 19:41:08 lordjaxom Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/ringbuffer.h>
|
#include <vdr/ringbuffer.h>
|
||||||
@ -64,12 +64,13 @@ void cStreamdevWriter::Action(void)
|
|||||||
|
|
||||||
offset += written;
|
offset += written;
|
||||||
count -= written;
|
count -= written;
|
||||||
m_Streamer->Del(written);
|
if (count == 0) {
|
||||||
if (count == 0)
|
m_Streamer->Del(offset);
|
||||||
block = NULL;
|
block = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
m_Active = false;
|
m_Active = false;
|
||||||
Dprintf("Max. Transmit Blocksize was: %d\n", max);
|
Dprintf("Max. Transmit Blocksize was: %d\n", max);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user