mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
008e7c8510
- increased WRITERBUFSIZE - buffer was too small for high bandwidth content - removed cStreamdevStreamer::m_Running - eliminated potential busy waits in remuxers - updated cTSRemux static helpers to code of their VDR 1.6.0 counterparts - re-enabled PES vor VDR 1.7.3+. Streamdev now uses a copy of VDR 1.6.0's cRemux for TS to PES remuxing. - make sure that only complete TS packets are written to ringbuffers - use signaling instead of sleeps when writing to ringbuffers - optimized cStreamdevPatFilter PAT packet initialization - fixed cStreamdevPatFilter not processing PATs with length > TS_SIZE - 5 - use a small ringbuffer for cStreamdevPatFilter instead of writing to cStreamdevStreamers SendBuffer as two threads mustn't write to the same ringbuffer Modified Files: CONTRIBUTORS HISTORY Makefile common.c common.h streamdev-server.c libdvbmpeg/transform.h remux/extern.c remux/extern.h remux/ts2es.c remux/ts2es.h remux/ts2ps.c remux/ts2ps.h remux/tsremux.c remux/tsremux.h server/connectionHTTP.c server/connectionVTP.c server/livestreamer.c server/livestreamer.h server/menuHTTP.c server/streamer.c server/streamer.h Added Files: remux/ts2pes.c remux/ts2pes.h
29 lines
660 B
C++
29 lines
660 B
C++
#ifndef VDR_STREAMDEV_EXTERNREMUX_H
|
|
#define VDR_STREAMDEV_EXTERNREMUX_H
|
|
|
|
#include "remux/tsremux.h"
|
|
#include <vdr/ringbuffer.h>
|
|
#include <string>
|
|
|
|
namespace Streamdev {
|
|
|
|
class cTSExt;
|
|
|
|
class cExternRemux: public cTSRemux {
|
|
private:
|
|
cRingBufferLinear *m_ResultBuffer;
|
|
cTSExt *m_Remux;
|
|
|
|
public:
|
|
cExternRemux(int VPid, const int *APids, const int *Dpids, const int *SPids, std::string Parameter);
|
|
virtual ~cExternRemux();
|
|
|
|
int Put(const uchar *Data, int Count);
|
|
uchar *Get(int &Count) { return m_ResultBuffer->Get(Count); }
|
|
void Del(int Count) { m_ResultBuffer->Del(Count); }
|
|
};
|
|
|
|
} // namespace Streamdev
|
|
|
|
#endif // VDR_STREAMDEV_EXTERNREMUX_H
|