Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCAN_t: move to its own header #904

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/libmythtv.pro
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ HEADERS += recordingfile.h
HEADERS += driveroption.h
HEADERS += mythhdrvideometadata.h
HEADERS += mythhdrtracker.h
HEADERS += scantype.h

SOURCES += bytereader.cpp
SOURCES += recordinginfo.cpp
Expand Down
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/mpeg/H2645Parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
#include "libmythbase/compat.h" // for uint on Darwin, MinGW
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythlogging.h"
#include "libmythtv/recorders/recorderbase.h" // for ScanType

#include "libmythtv/scantype.h"

class BitReader;
class FrameRate;
enum class SCAN_t : uint8_t;

class H2645Parser {
public:
Expand Down
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/recorders/dtvrecorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "libmythtv/mpeg/H2645Parser.h"
#include "libmythtv/mpeg/streamlisteners.h"
#include "libmythtv/recorders/recorderbase.h"
#include "libmythtv/scantype.h"

class MPEGStreamData;
class TSPacket;
Expand Down
8 changes: 1 addition & 7 deletions mythtv/libs/libmythtv/recorders/recorderbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "libmythtv/mythtvexp.h"
#include "libmythtv/recordingfile.h"
#include "libmythtv/recordingquality.h"
#include "libmythtv/scantype.h"

extern "C"
{
Expand Down Expand Up @@ -52,13 +53,6 @@ class FrameRate
uint m_den;
};

enum class SCAN_t : uint8_t {
UNKNOWN_SCAN,
INTERLACED,
PROGRESSIVE,
VARIABLE
};

/** \class RecorderBase
* \brief This is the abstract base class for supporting
* recorder hardware.
Expand Down
13 changes: 13 additions & 0 deletions mythtv/libs/libmythtv/scantype.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#ifndef SCAN_TYPE_H_
#define SCAN_TYPE_H_

#include <cstdint>

enum class SCAN_t : uint8_t {
UNKNOWN_SCAN,
INTERLACED,
PROGRESSIVE,
VARIABLE
};

#endif // SCAN_TYPE_H_