MythTV  master
tsstreamdata.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 // Copyright (c) 2015, Digital Nirvana
3 #ifndef TSSTREAMDATA_H_
4 #define TSSTREAMDATA_H_
5 
6 #include "mpegstreamdata.h"
7 
8 /* Specialized version of MPEGStreamData which is used to 'blindly'
9  * record the entire MPTS transport from an input */
10 
12 {
13  public:
14  explicit TSStreamData(int cardnum);
15  ~TSStreamData() override { ; }
16 
17  bool ProcessTSPacket(const TSPacket& tspacket) override; // MPEGStreamData
18 
20  void Reset(int /* desiredProgram */) override { ; } // MPEGStreamData
21  bool HandleTables(uint /* pid */, const PSIPTable & /* psip */) override // MPEGStreamData
22  { return true; }
23 };
24 
25 #endif
TSStreamData::Reset
void Reset(int) override
Definition: tsstreamdata.h:20
PSIPTable
A PSIP table is a variant of a PES packet containing an MPEG, ATSC or DVB table.
Definition: mpegtables.h:409
TSPacket
Used to access the data of a Transport Stream packet.
Definition: tspacket.h:205
MPEGStreamData
Encapsulates data about MPEG stream and emits events for each table.
Definition: mpegstreamdata.h:85
TSStreamData::~TSStreamData
~TSStreamData() override
Definition: tsstreamdata.h:15
mpegstreamdata.h
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
TSStreamData::HandleTables
bool HandleTables(uint, const PSIPTable &) override
Process PSIP packets.
Definition: tsstreamdata.h:21
MPEGStreamData::Reset
virtual void Reset(void)
Definition: mpegstreamdata.h:94
MPEGStreamData::ProcessTSPacket
virtual bool ProcessTSPacket(const TSPacket &tspacket)
Definition: mpegstreamdata.cpp:1000
TSStreamData
Specialized version of MPEGStreamData which is used to 'blindly' record the entire MPTS transport fro...
Definition: tsstreamdata.h:11
uint
unsigned int uint
Definition: freesurround.h:24