Revision 2cecea08 src/tuner.h

View differences:

src/tuner.h
45 45
  virtual void addSelectFDs(Select &) const;
46 46
  virtual bool isReady(const Select &) const;
47 47

  
48
  Demuxer *getDemuxer(int pid, Demuxer::PESType pesType) const;
48
  Demuxer *getDemuxer(int pid, bool convertToPS, Demuxer::PESType pesType) const;
49 49

  
50 50
  int getMaxNumSubscribers() const { return 8; }
51 51
  virtual bool subscribe(Sink *s);
......
55 55
  void process();
56 56

  
57 57
protected:
58
  virtual Demuxer *makeNewDemuxer(int pid, Demuxer::PESType pesType) const;
58
  virtual Demuxer *makeNewDemuxer(int pid, bool convertToPS, Demuxer::PESType pesType) const;
59 59
  virtual bool openFrontend();
60 60
  virtual void closeFrontend();
61 61
  virtual bool openDvr();
......
74 74
  typedef std::map <int, Demuxer *> PIDMap;
75 75
  typedef std::map <const TuneParams *, PIDMap> DemuxerMap;
76 76

  
77
  mutable DemuxerMap demuxerMap;
77
  // demuxerMap[0] for TS
78
  // demuxerMap[1] for PS
79
  mutable DemuxerMap demuxerMap[2];
78 80
};
79 81

  
80 82
#endif // __TUNER_H

Also available in: Unified diff