summaryrefslogtreecommitdiff
path: root/server/livestreamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/livestreamer.h')
-rw-r--r--server/livestreamer.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/server/livestreamer.h b/server/livestreamer.h
index 29217d9..36e98d1 100644
--- a/server/livestreamer.h
+++ b/server/livestreamer.h
@@ -2,6 +2,7 @@
#define VDR_STREAMDEV_LIVESTREAMER_H
#include <vdr/config.h>
+#include <vdr/status.h>
#include <vdr/receiver.h>
#include "server/streamer.h"
@@ -18,7 +19,11 @@ class cStreamdevLiveReceiver;
// --- cStreamdevLiveStreamer -------------------------------------------------
-class cStreamdevLiveStreamer: public cStreamdevStreamer, public cMainThreadHookSubscriber {
+class cStreamdevLiveStreamer: public cStreamdevStreamer, public cMainThreadHookSubscriber
+#if VDRVERSNUM >= 20104
+ , public cStatus
+#endif
+ {
private:
int m_Priority;
int m_Pids[MAXRECEIVEPIDS + 1];
@@ -51,6 +56,8 @@ protected:
virtual int Put(const uchar *Data, int Count);
virtual void Action(void);
+ virtual void ChannelChange(const cChannel *Channel);
+
public:
cStreamdevLiveStreamer(const cServerConnection *Connection, const cChannel *Channel, int Priority, eStreamType StreamType, const int* Apid = NULL, const int* Dpid = NULL);
virtual ~cStreamdevLiveStreamer();