mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
412c6982b6
- 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 - use 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: Tag: v0_4 CONTRIBUTORS HISTORY Makefile 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/livestreamer.c server/livestreamer.h server/streamer.c server/streamer.h Added Files: Tag: v0_4 remux/ts2pes.c remux/ts2pes.h
33 lines
752 B
C++
33 lines
752 B
C++
#ifndef VDR_STREAMDEV_TS2PESREMUX_H
|
|
#define VDR_STREAMDEV_TS2PESREMUX_H
|
|
|
|
#include "remux/tsremux.h"
|
|
#include "server/streamer.h"
|
|
|
|
namespace Streamdev {
|
|
|
|
class cTS2PS;
|
|
|
|
class cTS2PSRemux: public cTSRemux {
|
|
private:
|
|
int m_NumTracks;
|
|
cTS2PS *m_Remux[MAXTRACKS];
|
|
cStreamdevBuffer *m_ResultBuffer;
|
|
int m_ResultSkipped;
|
|
int m_Skipped;
|
|
bool m_Synced;
|
|
bool m_IsRadio;
|
|
|
|
public:
|
|
cTS2PSRemux(int VPid, const int *Apids, const int *Dpids, const int *Spids);
|
|
virtual ~cTS2PSRemux();
|
|
|
|
int Put(const uchar *Data, int Count);
|
|
uchar *Get(int &Count);
|
|
void Del(int Count) { m_ResultBuffer->Del(Count); }
|
|
};
|
|
|
|
} // namespace Streamdev
|
|
|
|
#endif // VDR_STREAMDEV_TS2PESREMUX_H
|