diff options
| author | manuel <manuel@mausz.at> | 2015-03-04 00:23:39 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2015-03-04 00:23:39 +0100 |
| commit | 9d11b08ad61b1f0d6d7023ce403285d8662efaed (patch) | |
| tree | 5bc0c947d9e10d3e8c9dc1e6b26f3d6599f0cea1 /xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxHTSP.h | |
| parent | c159d9f91f1573901868100a9464527a5a71575b (diff) | |
| download | kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.tar.gz kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.tar.bz2 kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.zip | |
sync with upstream
Diffstat (limited to 'xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxHTSP.h')
| -rw-r--r-- | xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxHTSP.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxHTSP.h b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxHTSP.h deleted file mode 100644 index 6d73a9d..0000000 --- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxHTSP.h +++ /dev/null | |||
| @@ -1,68 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2005-2013 Team XBMC | ||
| 3 | * http://xbmc.org | ||
| 4 | * | ||
| 5 | * This Program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 8 | * any later version. | ||
| 9 | * | ||
| 10 | * This Program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with XBMC; see the file COPYING. If not, see | ||
| 17 | * <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | #include "DVDDemux.h" | ||
| 23 | #include "filesystem/HTSPSession.h" | ||
| 24 | |||
| 25 | class CDVDInputStreamHTSP; | ||
| 26 | typedef struct htsmsg htsmsg_t; | ||
| 27 | |||
| 28 | class CDVDDemuxHTSP : public CDVDDemux | ||
| 29 | { | ||
| 30 | public: | ||
| 31 | CDVDDemuxHTSP(); | ||
| 32 | virtual ~CDVDDemuxHTSP(); | ||
| 33 | |||
| 34 | bool Open(CDVDInputStream* input); | ||
| 35 | void Dispose(); | ||
| 36 | void Reset(); | ||
| 37 | void Flush(); | ||
| 38 | void Abort(); | ||
| 39 | void SetSpeed(int iSpeed){}; | ||
| 40 | |||
| 41 | std::string GetFileName(); | ||
| 42 | |||
| 43 | DemuxPacket* Read(); | ||
| 44 | |||
| 45 | bool SeekTime(int time, bool backwords = false, double* startpts = NULL) { return false; } | ||
| 46 | int GetStreamLength() { return 0; } | ||
| 47 | |||
| 48 | CDemuxStream* GetStream(int iStreamId); | ||
| 49 | int GetNrOfStreams(); | ||
| 50 | |||
| 51 | protected: | ||
| 52 | friend class CDemuxStreamVideoHTSP; | ||
| 53 | |||
| 54 | void SubscriptionStart (htsmsg_t *m); | ||
| 55 | void SubscriptionStop (htsmsg_t *m); | ||
| 56 | void SubscriptionStatus(htsmsg_t *m); | ||
| 57 | |||
| 58 | htsmsg_t* ReadStream(); | ||
| 59 | bool ReadStream(uint8_t* buf, int len); | ||
| 60 | |||
| 61 | typedef std::vector<CDemuxStream*> TStreams; | ||
| 62 | |||
| 63 | CDVDInputStream* m_Input; | ||
| 64 | TStreams m_Streams; | ||
| 65 | std::string m_Status; | ||
| 66 | int m_StatusCount; | ||
| 67 | HTSP::SQueueStatus m_QueueStatus; | ||
| 68 | }; | ||
