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  virtual ~TSStreamData() { ; }
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
Used to access the data of a Transport Stream packet.
Definition: tspacket.h:166
virtual void Reset(void)
unsigned int uint
Definition: compat.h:140
A PSIP table is a variant of a PES packet containing an MPEG, ATSC or DVB table.
Definition: mpegtables.h:371
#define MTV_PUBLIC
Definition: mythtvexp.h:15
virtual bool ProcessTSPacket(const TSPacket &tspacket)
void Reset(int) override
Definition: tsstreamdata.h:20
Specialized version of MPEGStreamData which is used to 'blindly' record the entire MPTS transport fro...
Definition: tsstreamdata.h:11
bool HandleTables(uint, const PSIPTable &) override
Assembles PSIP packets and processes them.
Definition: tsstreamdata.h:21
Encapsulates data about MPEG stream and emits events for each table.
virtual ~TSStreamData()
Definition: tsstreamdata.h:15