3#ifndef ASISTREAMHANDLER_H
4#define ASISTREAMHANDLER_H
52 const QString& output_file = QString()) override
66 void run(
void)
override;
@ kASIRXSyncOnActualConvertTo188
@ kASIRXSyncOn204ConvertTo188
@ kASIRecoveredReceiveClock
static ASIStreamHandler * Get(const QString &devname, int inputid)
static QMutex s_handlersLock
void AddListener(MPEGStreamData *data, bool=false, bool=false, const QString &output_file=QString()) override
static QMap< QString, ASIStreamHandler * > s_handlers
ASIClockSource m_clockSource
void SetRunningDesired(bool desired) override
At minimum this sets _running_desired, this may also send signals to anything that might be blocking ...
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
ASIStreamHandler(const QString &device, int inputid)
void SetRXMode(ASIRXMode m)
void PriorityEvent(int fd) override
void SetClockSource(ASIClockSource cs)
static void Return(ASIStreamHandler *&ref, int inputid)
static QMap< QString, uint > s_handlersRefCnt
This class is intended to detect the presence of needed tables.
Buffers reads from device files.
Encapsulates data about MPEG stream and emits events for each table.
virtual void AddListener(MPEGStreamData *data, bool allow_section_reader=false, bool needs_buffering=false, const QString &output_file=QString())
static constexpr unsigned int kSize