diff options
Diffstat (limited to 'server/connectionIGMP.h')
-rw-r--r-- | server/connectionIGMP.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/server/connectionIGMP.h b/server/connectionIGMP.h index 255379b..23ca042 100644 --- a/server/connectionIGMP.h +++ b/server/connectionIGMP.h @@ -17,7 +17,6 @@ class cStreamdevLiveStreamer; class cConnectionIGMP: public cServerConnection { private: - cStreamdevLiveStreamer *m_LiveStreamer; int m_ClientPort; eStreamType m_StreamType; cChannel *m_Channel; @@ -33,8 +32,6 @@ public: /* Not used here */ virtual bool Command(char *Cmd) { return false; } - virtual void Attach(void) { if (m_LiveStreamer != NULL) m_LiveStreamer->Attach(); } - virtual void Detach(void) { if (m_LiveStreamer != NULL) m_LiveStreamer->Detach(); } virtual bool Close(void); virtual bool Abort(void) const; @@ -42,7 +39,7 @@ public: inline bool cConnectionIGMP::Abort(void) const { - return !IsOpen() || !m_LiveStreamer || m_LiveStreamer->Abort(); + return !IsOpen() || !Streamer() || Streamer()->Abort(); } #endif // VDR_STREAMDEV_SERVERS_CONNECTIONIGMP_H |