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