1#ifndef MYTHMEDIABUFFER_H
2#define MYTHMEDIABUFFER_H
5#include <QReadWriteLock>
6#include <QWaitCondition>
18#include "libavcodec/avcodec.h"
34 if (SEEK_SET == Whence)
36 if (SEEK_CUR == Whence)
64 bool UseReadAhead =
true,
66 bool StreamOnly =
false);
96 bool IsDVD (
void)
const;
97 bool IsBD (
void)
const;
105 void Reset (
bool Full =
false,
bool ToAdjust =
false,
bool ResetInternal =
false);
112 long long Seek (
long long Position,
int Whence,
bool HasLock =
false);
128 long long WriterSeek (
long long Position,
int Whence,
bool HasLock =
false);
139 virtual bool IsInMenu (
void)
const {
return false; }
144 virtual bool ReOpen (
const QString& =
"") {
return false; }
149 void run(
void)
override;
156 int WaitForAvail (
int Count, std::chrono::milliseconds Timeout);
Keeps track of recordings in a current LiveTV instance.
This is a wrapper around QThread that does several additional things.
virtual void run(void)
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
A class to allow a MythMediaBuffer to read from BDs.
This class supports the writing of recordings to disk.
std::chrono::duration< CHRONO_TYPE, std::ratio< 1, 90000 > > pts