-
Simple unused parameter fixes.
Fix unused parameter warnings to trivial functions. Most of these are
null functions or functions that return a constant. One or two are
trivial code. Most of these are also appear to be virtual functions
that will be overwritten by child classes.
---
mythtv/libs/libmyth/audio/audiooutputbase.h | 4 +--
mythtv/libs/libmythbase/housekeeper.h | 2 +-
mythtv/libs/libmythbase/mythtimezone.cpp | 2 +-
mythtv/libs/libmythfreemheg/ParseText.cpp | 3 ++-
mythtv/libs/libmythfreemheg/Root.h | 2 +-
mythtv/libs/libmythfreemheg/Text.h | 2 +-
mythtv/libs/libmythfreemheg/Visible.h | 8 +++---
.../libs/libmythprotoserver/socketrequesthandler.h | 14 +++++-----
mythtv/libs/libmythtv/Bluray/mythbdplayer.h | 12 ++++-----
mythtv/libs/libmythtv/avformatdecoder.h | 2 +-
mythtv/libs/libmythtv/avformatwriter.cpp | 4 +--
mythtv/libs/libmythtv/decoderbase.h | 14 +++++-----
mythtv/libs/libmythtv/diseqc.cpp | 4 +--
mythtv/libs/libmythtv/filewriterbase.cpp | 4 +--
mythtv/libs/libmythtv/filewriterbase.h | 4 +--
mythtv/libs/libmythtv/mhi.cpp | 6 ++---
mythtv/libs/libmythtv/mpeg/atsctables.h | 4 +--
mythtv/libs/libmythtv/mpeg/mpegtables.cpp | 2 +-
mythtv/libs/libmythtv/mpeg/sctetables.cpp | 2 +-
mythtv/libs/libmythtv/mpeg/sctetables.h | 4 +--
mythtv/libs/libmythtv/mythplayer.h | 20 +++++++--------
.../libmythtv/recorders/ExternalStreamHandler.cpp | 4 +--
mythtv/libs/libmythtv/recorders/channelbase.h | 4 +--
mythtv/libs/libmythtv/recorders/dtvchannel.cpp | 2 +-
mythtv/libs/libmythtv/recorders/dtvchannel.h | 6 ++---
mythtv/libs/libmythtv/recorders/dummychannel.h | 2 +-
mythtv/libs/libmythtv/recorders/mpegrecorder.h | 4 +--
mythtv/libs/libmythtv/recorders/streamhandler.h | 4 +--
mythtv/libs/libmythtv/recorders/v4lrecorder.h | 4 +--
mythtv/libs/libmythtv/ringbuffer.h | 4 +--
mythtv/libs/libmythtv/v4l2util.cpp | 2 +-
mythtv/libs/libmythtv/videoout_null.h | 4 +--
mythtv/libs/libmythtv/videoout_nullvaapi.h | 30 +++++++++++-----------
mythtv/libs/libmythtv/videoout_nullvdpau.cpp | 2 +-
mythtv/libs/libmythtv/videoout_nullvdpau.h | 30 +++++++++++-----------
mythtv/libs/libmythtv/videoout_openglvaapi.cpp | 2 +-
mythtv/libs/libmythtv/videoout_vdpau.cpp | 2 +-
mythtv/libs/libmythtv/videooutbase.h | 9 +++----
mythtv/libs/libmythtv/videosource.h | 2 +-
.../visualisations/videovisualspectrum.cpp | 2 +-
mythtv/libs/libmythtv/vsync.h | 2 +-
mythtv/libs/libmythui/mythpainter.cpp | 2 +-
mythtv/libs/libmythui/mythpainter_qimage.h | 2 +-
mythtv/libs/libmythui/mythrender_opengl.h | 2 +-
mythtv/libs/libmythui/mythrender_opengl1.h | 6 ++---
mythtv/libs/libmythui/mythrender_vdpau.cpp | 2 +-
mythtv/libs/libmythupnp/serializers/serializer.h | 2 +-
mythtv/libs/libmythupnp/upnpcds.cpp | 12 ++++-----
mythtv/libs/libmythupnp/websocket.cpp | 3 +--
mythtv/libs/libmythupnp/websocket.h | 4 +--
mythtv/programs/mythbackend/services/capture.h | 2 +-
mythtv/programs/mythbackend/services/channel.h | 2 +-
mythtv/programs/mythbackend/services/content.h | 2 +-
mythtv/programs/mythbackend/services/dvr.h | 2 +-
mythtv/programs/mythbackend/services/guide.h | 2 +-
mythtv/programs/mythbackend/services/image.h | 2 +-
mythtv/programs/mythbackend/services/video.h | 2 +-
.../programs/mythtranscode/audioreencodebuffer.h | 2 +-
mythtv/programs/mythutil/mpegutils.cpp | 6 ++---
59 files changed, 148 insertions(+), 149 deletions(-)
diff --git a/mythtv/libs/libmyth/audio/audiooutputbase.h b/mythtv/libs/libmyth/audio/audiooutputbase.h
index e7fc7e4..b63f7c0 100644
a
|
b
|
class AudioOutputBase : public AudioOutput, public MThread |
76 | 76 | virtual bool IsUpmixing(void); |
77 | 77 | virtual bool ToggleUpmix(void); |
78 | 78 | virtual bool CanUpmix(void); |
79 | | virtual bool CanProcess(AudioFormat fmt) { return true; } |
| 79 | virtual bool CanProcess(AudioFormat /*fmt*/) { return true; } |
80 | 80 | virtual uint32_t CanProcess(void) |
81 | 81 | { |
82 | 82 | // we support all codec |
… |
… |
class AudioOutputBase : public AudioOutput, public MThread |
136 | 136 | */ |
137 | 137 | virtual int GetBufferedOnSoundcard(void) const = 0; |
138 | 138 | // Default implementation only supports 2ch s16le at 48kHz |
139 | | virtual AudioOutputSettings* GetOutputSettings(bool digital) |
| 139 | virtual AudioOutputSettings* GetOutputSettings(bool /*digital*/) |
140 | 140 | { return new AudioOutputSettings; } |
141 | 141 | // You need to call this from any implementation in the dtor. |
142 | 142 | void KillAudio(void); |
-
diff --git a/mythtv/libs/libmythbase/housekeeper.h b/mythtv/libs/libmythbase/housekeeper.h
index e3c6bf7..cf4ad40 100644
a
|
b
|
class MBASE_PUBLIC HouseKeeperTask : public ReferenceCounter |
62 | 62 | virtual QDateTime UpdateLastRun(QDateTime last, bool successful=true); |
63 | 63 | virtual void SetLastRun(QDateTime last, bool successful=true); |
64 | 64 | |
65 | | virtual bool DoCheckRun(QDateTime now) { return false; } |
| 65 | virtual bool DoCheckRun(QDateTime /*now*/) { return false; } |
66 | 66 | virtual bool DoRun(void) { return false; } |
67 | 67 | |
68 | 68 | virtual void Terminate(void) {} |
-
diff --git a/mythtv/libs/libmythbase/mythtimezone.cpp b/mythtv/libs/libmythbase/mythtimezone.cpp
index 6a081a4..c780a84 100644
a
|
b
|
bool checkTimeZone(void) |
313 | 313 | |
314 | 314 | /// This overloaded version allows for the use of an existing (not managed by |
315 | 315 | /// MythContext) connection to the backend. |
316 | | bool checkTimeZone(const QStringList &master_settings) |
| 316 | bool checkTimeZone(const QStringList &/*master_settings*/) |
317 | 317 | { |
318 | 318 | return true; |
319 | 319 | } |
-
diff --git a/mythtv/libs/libmythfreemheg/ParseText.cpp b/mythtv/libs/libmythfreemheg/ParseText.cpp
index ecd7801..b2ab209 100644
a
|
b
|
MHParseText::MHParseText(QByteArray &program) |
47 | 47 | m_ch(0), m_nTag(0), |
48 | 48 | m_nInt(0), m_fBool(false), |
49 | 49 | m_String((unsigned char *)malloc(100)), |
50 | | m_nStringLength(0), m_p(0) |
| 50 | m_nStringLength(0), m_p(0), |
| 51 | m_data(program) |
51 | 52 | |
52 | 53 | { |
53 | 54 | } |
-
diff --git a/mythtv/libs/libmythfreemheg/Root.h b/mythtv/libs/libmythfreemheg/Root.h
index 44fb3f1..d2f8217 100644
a
|
b
|
class MHRoot |
183 | 183 | // Actions on Interactibles. |
184 | 184 | virtual void SetInteractionStatus(bool /*newStatus*/, MHEngine *) { InvalidAction("SetInteractionStatus"); } |
185 | 185 | virtual bool GetInteractionStatus(void) { InvalidAction("GetInteractionStatus"); return false; } |
186 | | virtual void SetHighlightStatus(bool /*newStatus*/, MHEngine *engine) { InvalidAction("SetHighlightStatus"); } |
| 186 | virtual void SetHighlightStatus(bool /*newStatus*/, MHEngine */*engine*/) { InvalidAction("SetHighlightStatus"); } |
187 | 187 | virtual bool GetHighlightStatus(void) { InvalidAction("GetHighlightStatus"); return false; } |
188 | 188 | |
189 | 189 | // Actions on Sliders. |
-
diff --git a/mythtv/libs/libmythfreemheg/Text.h b/mythtv/libs/libmythfreemheg/Text.h
index e2ba9d6..143b28c 100644
a
|
b
|
class MHHyperText : public MHText, public MHInteractible |
106 | 106 | virtual void SetHighlightStatus(bool newStatus, MHEngine *engine) |
107 | 107 | { InteractSetHighlightStatus(newStatus, engine); } |
108 | 108 | virtual bool GetHighlightStatus(void) { return InteractGetHighlightStatus(); } |
109 | | virtual void Deactivation(MHEngine *engine) { InteractDeactivation(); } |
| 109 | virtual void Deactivation(MHEngine */*engine*/) { InteractDeactivation(); } |
110 | 110 | }; |
111 | 111 | |
112 | 112 | // Get Text Data - get the data out of a text object. |
-
diff --git a/mythtv/libs/libmythfreemheg/Visible.h b/mythtv/libs/libmythfreemheg/Visible.h
index 0ebd23e..c6127f0 100644
a
|
b
|
class MHSlider : public MHVisible, public MHInteractible |
183 | 183 | virtual void SetHighlightStatus(bool newStatus, MHEngine *engine) |
184 | 184 | { InteractSetHighlightStatus(newStatus, engine); } |
185 | 185 | virtual bool GetHighlightStatus(void) { return InteractGetHighlightStatus(); } |
186 | | virtual void Deactivation(MHEngine *engine) { InteractDeactivation(); } |
| 186 | virtual void Deactivation(MHEngine */*engine*/) { InteractDeactivation(); } |
187 | 187 | |
188 | 188 | // Actions |
189 | 189 | virtual void Step(int nbSteps, MHEngine *engine); |
… |
… |
class MHEntryField : public MHVisible, public MHInteractible |
236 | 236 | virtual void SetHighlightStatus(bool newStatus, MHEngine *engine) |
237 | 237 | { InteractSetHighlightStatus(newStatus, engine); } |
238 | 238 | virtual bool GetHighlightStatus(void) { return InteractGetHighlightStatus(); } |
239 | | virtual void Deactivation(MHEngine *engine) { InteractDeactivation(); } |
| 239 | virtual void Deactivation(MHEngine */*engine*/) { InteractDeactivation(); } |
240 | 240 | }; |
241 | 241 | |
242 | 242 | // Button - not needed for UK MHEG. |
… |
… |
class MHSetInteractionStatus: public MHActionBool |
399 | 399 | { |
400 | 400 | public: |
401 | 401 | MHSetInteractionStatus(): MHActionBool("SetInteractionStatus") {} |
402 | | virtual void CallAction(MHEngine *engine, MHRoot *pTarget, bool newStatus) |
| 402 | virtual void CallAction(MHEngine *engine, MHRoot */*pTarget*/, bool newStatus) |
403 | 403 | { Target(engine)->SetInteractionStatus(newStatus, engine); } |
404 | 404 | }; |
405 | 405 | |
… |
… |
class MHSetHighlightStatus: public MHActionBool |
415 | 415 | { |
416 | 416 | public: |
417 | 417 | MHSetHighlightStatus(): MHActionBool("SetHighlightStatus") {} |
418 | | virtual void CallAction(MHEngine *engine, MHRoot *pTarget, bool newStatus) |
| 418 | virtual void CallAction(MHEngine *engine, MHRoot */*pTarget*/, bool newStatus) |
419 | 419 | { Target(engine)->SetHighlightStatus(newStatus, engine); } |
420 | 420 | }; |
421 | 421 | |
-
diff --git a/mythtv/libs/libmythprotoserver/socketrequesthandler.h b/mythtv/libs/libmythprotoserver/socketrequesthandler.h
index e1e990d..f838640 100644
a
|
b
|
class PROTOSERVER_PUBLIC SocketRequestHandler : public QObject |
16 | 16 | SocketRequestHandler() : m_parent(NULL) {}; |
17 | 17 | ~SocketRequestHandler() {}; |
18 | 18 | |
19 | | virtual bool HandleAnnounce(MythSocket *socket, QStringList &commands, |
20 | | QStringList &slist) |
| 19 | virtual bool HandleAnnounce(MythSocket */*socket*/, QStringList &/*commands*/, |
| 20 | QStringList &/*slist*/) |
21 | 21 | { return false; } |
22 | | virtual bool HandleQuery(SocketHandler *socket, QStringList &commands, |
23 | | QStringList &slist) |
| 22 | virtual bool HandleQuery(SocketHandler */*socket*/, QStringList &/*commands*/, |
| 23 | QStringList &/*slist*/) |
24 | 24 | { return false; } |
25 | 25 | virtual QString GetHandlerName(void) { return "BASE"; } |
26 | | virtual void connectionAnnounced(MythSocket *socket, QStringList &commands, |
27 | | QStringList &slist) { (void)socket; } |
28 | | virtual void connectionClosed(MythSocket *socket) { (void)socket; } |
| 26 | virtual void connectionAnnounced(MythSocket */*socket*/, QStringList &/*commands*/, |
| 27 | QStringList &/*slist*/) { } |
| 28 | virtual void connectionClosed(MythSocket */*socket*/) { } |
29 | 29 | virtual void SetParent(MythSocketManager *parent) { m_parent = parent; } |
30 | 30 | MythSocketManager *GetParent(void) { return m_parent; } |
31 | 31 | |
-
diff --git a/mythtv/libs/libmythtv/Bluray/mythbdplayer.h b/mythtv/libs/libmythtv/Bluray/mythbdplayer.h
index 45242cf..e5be634 100644
a
|
b
|
class MythBDPlayer : public MythPlayer |
38 | 38 | |
39 | 39 | // Non-const gets |
40 | 40 | // Disable screen grabs for Bluray |
41 | | virtual char *GetScreenGrabAtFrame(uint64_t frameNum, bool absolute, |
42 | | int &buflen, int &vw, int &vh, float &ar) { return NULL; } |
43 | | virtual char *GetScreenGrab(int secondsin, int &buflen, |
44 | | int &vw, int &vh, float &ar) { return NULL; } |
| 41 | virtual char *GetScreenGrabAtFrame(uint64_t /*frameNum*/, bool /*absolute*/, |
| 42 | int &/*buflen*/, int &/*vw*/, int &/*vh*/, float &/*ar*/) { return NULL; } |
| 43 | virtual char *GetScreenGrab(int /*secondsin*/, int &/*buflen*/, |
| 44 | int &/*vw*/, int &/*vh*/, float &/*ar*/) { return NULL; } |
45 | 45 | |
46 | 46 | protected: |
47 | 47 | // Playback |
… |
… |
class MythBDPlayer : public MythPlayer |
59 | 59 | |
60 | 60 | // Non-const gets |
61 | 61 | // Disable screen grabs for Bluray |
62 | | virtual void SeekForScreenGrab(uint64_t &number, uint64_t frameNum, |
63 | | bool absolute) { return; } |
| 62 | virtual void SeekForScreenGrab(uint64_t &/*number*/, uint64_t /*frameNum*/, |
| 63 | bool /*absolute*/) { return; } |
64 | 64 | |
65 | 65 | private: |
66 | 66 | void DisplayMenu(void); |
-
diff --git a/mythtv/libs/libmythtv/avformatdecoder.h b/mythtv/libs/libmythtv/avformatdecoder.h
index ae3df77..be3c917 100644
a
|
b
|
class AvFormatDecoder : public DecoderBase |
264 | 264 | virtual void DoFastForwardSeek(long long desiredFrame, bool &needflush); |
265 | 265 | virtual void StreamChangeCheck(void) { } |
266 | 266 | virtual void PostProcessTracks(void) { } |
267 | | virtual bool IsValidStream(int streamid) {return true;} |
| 267 | virtual bool IsValidStream(int /*streamid*/) {return true;} |
268 | 268 | |
269 | 269 | int DecodeAudio(AVCodecContext *ctx, uint8_t *buffer, int &data_size, |
270 | 270 | AVPacket *pkt); |
-
diff --git a/mythtv/libs/libmythtv/avformatwriter.cpp b/mythtv/libs/libmythtv/avformatwriter.cpp
index d12cf41..feef32c 100644
a
|
b
|
int AVFormatWriter::WriteAudioFrame(unsigned char *buf, int fnum, long long &tim |
417 | 417 | return 1; |
418 | 418 | } |
419 | 419 | |
420 | | int AVFormatWriter::WriteTextFrame(int vbimode, unsigned char *buf, int len, |
421 | | long long timecode, int pagenr) |
| 420 | int AVFormatWriter::WriteTextFrame(int /*vbimode*/, unsigned char */*buf*/, int /*len*/, |
| 421 | long long /*timecode*/, int /*pagenr*/) |
422 | 422 | { |
423 | 423 | return 1; |
424 | 424 | } |
-
diff --git a/mythtv/libs/libmythtv/decoderbase.h b/mythtv/libs/libmythtv/decoderbase.h
index 9b8051f..6781548 100644
a
|
b
|
class DecoderBase |
159 | 159 | MythPlayer *GetPlayer() { return m_parent; } |
160 | 160 | |
161 | 161 | virtual int GetNumChapters(void) { return 0; } |
162 | | virtual int GetCurrentChapter(long long framesPlayed) { return 0; } |
163 | | virtual void GetChapterTimes(QList<long long> ×) { return; } |
164 | | virtual long long GetChapter(int chapter) { return framesPlayed; } |
| 162 | virtual int GetCurrentChapter(long long /*framesPlayed*/) { return 0; } |
| 163 | virtual void GetChapterTimes(QList<long long> &/*times*/) { return; } |
| 164 | virtual long long GetChapter(int /*chapter*/) { return framesPlayed; } |
165 | 165 | virtual bool DoRewind(long long desiredFrame, bool doflush = true); |
166 | 166 | virtual bool DoFastForward(long long desiredFrame, bool doflush = true); |
167 | | virtual void SetIdrOnlyKeyframes(bool value) { } |
| 167 | virtual void SetIdrOnlyKeyframes(bool /*value*/) { } |
168 | 168 | |
169 | 169 | static uint64_t |
170 | 170 | TranslatePositionAbsToRel(const frm_dir_map_t &deleteMap, |
… |
… |
class DecoderBase |
257 | 257 | virtual int GetTeletextDecoderType(void) const { return -1; } |
258 | 258 | |
259 | 259 | virtual QString GetXDS(const QString&) const { return QString::null; } |
260 | | virtual QByteArray GetSubHeader(uint trackNo) const { return QByteArray(); } |
261 | | virtual void GetAttachmentData(uint trackNo, QByteArray &filename, |
262 | | QByteArray &data) {} |
| 260 | virtual QByteArray GetSubHeader(uint /*trackNo*/) const { return QByteArray(); } |
| 261 | virtual void GetAttachmentData(uint /*trackNo*/, QByteArray &/*filename*/, |
| 262 | QByteArray &/*data*/) {} |
263 | 263 | |
264 | 264 | // MHEG/MHI stuff |
265 | 265 | virtual bool SetAudioByComponentTag(int) { return false; } |
-
diff --git a/mythtv/libs/libmythtv/diseqc.cpp b/mythtv/libs/libmythtv/diseqc.cpp
index d84c286..57a6d83 100644
a
|
b
|
bool DiSEqCDevSCR::SendCommand(uint cmd, uint repeats, uint data_len, |
2291 | 2291 | return ret; |
2292 | 2292 | } |
2293 | 2293 | |
2294 | | uint DiSEqCDevSCR::GetVoltage(const DiSEqCDevSettings &settings, |
2295 | | const DTVMultiplex &tuning) const |
| 2294 | uint DiSEqCDevSCR::GetVoltage(const DiSEqCDevSettings &/*settings*/, |
| 2295 | const DTVMultiplex &/*tuning*/) const |
2296 | 2296 | { |
2297 | 2297 | return SEC_VOLTAGE_13; |
2298 | 2298 | } |
-
diff --git a/mythtv/libs/libmythtv/filewriterbase.cpp b/mythtv/libs/libmythtv/filewriterbase.cpp
index 650215d..52b7873 100644
a
|
b
|
FileWriterBase::~FileWriterBase() |
40 | 40 | { |
41 | 41 | } |
42 | 42 | |
43 | | int FileWriterBase::WriteVideoFrame(VideoFrame *frame) |
| 43 | int FileWriterBase::WriteVideoFrame(VideoFrame */*frame*/) |
44 | 44 | { |
45 | 45 | LOG(VB_RECORD, LOG_ERR, LOC + "WriteVideoFrame(): Shouldn't be here!"); |
46 | 46 | |
47 | 47 | return 1; |
48 | 48 | } |
49 | 49 | |
50 | | int FileWriterBase::WriteAudioFrame(unsigned char *buf, int fnum, long long &timecode) |
| 50 | int FileWriterBase::WriteAudioFrame(unsigned char */*buf*/, int /*fnum*/, long long &/*timecode*/) |
51 | 51 | { |
52 | 52 | LOG(VB_RECORD, LOG_ERR, LOC + "WriteAudioFrame(): Shouldn't be here!"); |
53 | 53 | |
-
diff --git a/mythtv/libs/libmythtv/filewriterbase.h b/mythtv/libs/libmythtv/filewriterbase.h
index 15eb623..95117d9 100644
a
|
b
|
class MTV_PUBLIC FileWriterBase |
18 | 18 | |
19 | 19 | virtual int WriteVideoFrame(VideoFrame *frame); |
20 | 20 | virtual int WriteAudioFrame(unsigned char *buf, int fnum, long long &timecode); |
21 | | virtual int WriteTextFrame(int vbimode, unsigned char *buf, int len, |
22 | | long long timecode, int pagenr) { return 1; } |
| 21 | virtual int WriteTextFrame(int /*vbimode*/, unsigned char */*buf*/, int /*len*/, |
| 22 | long long /*timecode*/, int /*pagenr*/) { return 1; } |
23 | 23 | virtual int WriteSeekTable(void) { return 1; } |
24 | 24 | |
25 | 25 | virtual bool SwitchToNextFile(void) { return false; } |
-
diff --git a/mythtv/libs/libmythtv/mhi.cpp b/mythtv/libs/libmythtv/mhi.cpp
index d7fa6e5..f01136f 100644
a
|
b
|
void MHIDLA::DrawBorderedRectangle(int x, int y, int width, int height) |
1684 | 1684 | } |
1685 | 1685 | |
1686 | 1686 | // Ovals (ellipses) |
1687 | | void MHIDLA::DrawOval(int x, int y, int width, int height) |
| 1687 | void MHIDLA::DrawOval(int /*x*/, int /*y*/, int /*width*/, int /*height*/) |
1688 | 1688 | { |
1689 | 1689 | // Not implemented. Not actually used in practice. |
1690 | 1690 | } |
1691 | 1691 | |
1692 | 1692 | // Arcs and sectors |
1693 | | void MHIDLA::DrawArcSector(int x, int y, int width, int height, |
1694 | | int start, int arc, bool isSector) |
| 1693 | void MHIDLA::DrawArcSector(int /*x*/, int /*y*/, int /*width*/, int /*height*/, |
| 1694 | int /*start*/, int /*arc*/, bool /*isSector*/) |
1695 | 1695 | { |
1696 | 1696 | // Not implemented. Not actually used in practice. |
1697 | 1697 | } |
-
diff --git a/mythtv/libs/libmythtv/mpeg/atsctables.h b/mythtv/libs/libmythtv/mpeg/atsctables.h
index 61e58a1..9f515b1 100644
a
|
b
|
class MTV_PUBLIC AggregateEventInformationTable : public PSIPTable |
802 | 802 | |
803 | 803 | QString toString(void) const |
804 | 804 | { return "AggregateEventInformationTable\n"; } |
805 | | QString toStringXML(uint indent_level) const |
| 805 | QString toStringXML(uint /*indent_level*/) const |
806 | 806 | { return "<AggregateEventInformationTable />"; } |
807 | 807 | }; |
808 | 808 | |
… |
… |
class MTV_PUBLIC AggregateExtendedTextTable : public PSIPTable |
822 | 822 | |
823 | 823 | QString toString(void) const |
824 | 824 | { return "AggregateExtendedTextTable\n"; } |
825 | | QString toStringXML(uint indent_level) const |
| 825 | QString toStringXML(uint /*indent_level*/) const |
826 | 826 | { return "<AggregateExtendedTextTable />"; } |
827 | 827 | }; |
828 | 828 | |
-
diff --git a/mythtv/libs/libmythtv/mpeg/mpegtables.cpp b/mythtv/libs/libmythtv/mpeg/mpegtables.cpp
index c8e954f..867581a 100644
a
|
b
|
QString SpliceTimeView::toStringXML( |
1257 | 1257 | |
1258 | 1258 | /// \brief Returns decrypted version of this packet. |
1259 | 1259 | SpliceInformationTable *SpliceInformationTable::GetDecrypted( |
1260 | | const QString &codeWord) const |
| 1260 | const QString &/*codeWord*/) const |
1261 | 1261 | { |
1262 | 1262 | // TODO |
1263 | 1263 | return NULL; |
-
diff --git a/mythtv/libs/libmythtv/mpeg/sctetables.cpp b/mythtv/libs/libmythtv/mpeg/sctetables.cpp
index fa29fd3..02341b3 100644
a
|
b
|
QString AggregateDataEventTable::toString(void) const |
573 | 573 | return "Aggregate Data Event Section\n"; |
574 | 574 | } |
575 | 575 | |
576 | | QString AggregateDataEventTable::toStringXML(uint indent_level) const |
| 576 | QString AggregateDataEventTable::toStringXML(uint /*indent_level*/) const |
577 | 577 | { |
578 | 578 | // TODO |
579 | 579 | return "<AggregateDataEventSection />"; |
-
diff --git a/mythtv/libs/libmythtv/mpeg/sctetables.h b/mythtv/libs/libmythtv/mpeg/sctetables.h
index 011436a..d62afed 100644
a
|
b
|
class MTV_PUBLIC ProgramInformationMessageTable : public PSIPTable |
625 | 625 | |
626 | 626 | QString toString(void) const |
627 | 627 | { return "Program Information Message\n"; } |
628 | | QString toStringXML(uint indent_level) const |
| 628 | QString toStringXML(uint /*indent_level*/) const |
629 | 629 | { return "<ProgramInformationMessage />"; } |
630 | 630 | }; |
631 | 631 | |
… |
… |
class MTV_PUBLIC ProgramNameMessageTable : public PSIPTable |
645 | 645 | |
646 | 646 | QString toString(void) const |
647 | 647 | { return "Program Name Message\n"; } |
648 | | QString toStringXML(uint indent_level) const |
| 648 | QString toStringXML(uint /*indent_level*/) const |
649 | 649 | { return "<ProgramNameMessage />"; } |
650 | 650 | }; |
651 | 651 | |
-
diff --git a/mythtv/libs/libmythtv/mythplayer.h b/mythtv/libs/libmythtv/mythplayer.h
index 3123a95..e228add 100644
a
|
b
|
class MTV_PUBLIC MythPlayer |
241 | 241 | InteractiveTV *GetInteractiveTV(void); |
242 | 242 | |
243 | 243 | // Title stuff |
244 | | virtual bool SwitchTitle(int title) { return false; } |
| 244 | virtual bool SwitchTitle(int /*title*/) { return false; } |
245 | 245 | virtual bool NextTitle(void) { return false; } |
246 | 246 | virtual bool PrevTitle(void) { return false; } |
247 | 247 | |
248 | 248 | // Angle stuff |
249 | | virtual bool SwitchAngle(int title) { return false; } |
| 249 | virtual bool SwitchAngle(int /*title*/) { return false; } |
250 | 250 | virtual bool NextAngle(void) { return false; } |
251 | 251 | virtual bool PrevAngle(void) { return false; } |
252 | 252 | |
… |
… |
class MTV_PUBLIC MythPlayer |
289 | 289 | |
290 | 290 | // Public Closed caption and teletext stuff |
291 | 291 | uint GetCaptionMode(void) const { return textDisplayMode; } |
292 | | virtual CC708Reader *GetCC708Reader(uint id=0) { return &cc708; } |
293 | | virtual CC608Reader *GetCC608Reader(uint id=0) { return &cc608; } |
294 | | virtual SubtitleReader *GetSubReader(uint id=0) { return &subReader; } |
295 | | virtual TeletextReader *GetTeletextReader(uint id=0) { return &ttxReader; } |
| 292 | virtual CC708Reader *GetCC708Reader(uint /*id*/=0) { return &cc708; } |
| 293 | virtual CC608Reader *GetCC608Reader(uint /*id*/=0) { return &cc608; } |
| 294 | virtual SubtitleReader *GetSubReader(uint /*id*/=0) { return &subReader; } |
| 295 | virtual TeletextReader *GetTeletextReader(uint /*id*/=0) { return &ttxReader; } |
296 | 296 | |
297 | 297 | // Public Audio/Subtitle/EIA-608/EIA-708 stream selection - thread safe |
298 | 298 | void TracksChanged(uint trackType); |
… |
… |
class MTV_PUBLIC MythPlayer |
329 | 329 | // Title public stuff |
330 | 330 | virtual int GetNumTitles(void) const { return 0; } |
331 | 331 | virtual int GetCurrentTitle(void) const { return 0; } |
332 | | virtual int GetTitleDuration(int title) const { return 0; } |
333 | | virtual QString GetTitleName(int title) const { return QString(); } |
| 332 | virtual int GetTitleDuration(int /*title*/) const { return 0; } |
| 333 | virtual QString GetTitleName(int /*title*/) const { return QString(); } |
334 | 334 | |
335 | 335 | // Angle public stuff |
336 | 336 | virtual int GetNumAngles(void) const { return 0; } |
337 | 337 | virtual int GetCurrentAngle(void) const { return 0; } |
338 | | virtual QString GetAngleName(int title) const { return QString(); } |
| 338 | virtual QString GetAngleName(int /*title*/) const { return QString(); } |
339 | 339 | |
340 | 340 | // DVD public stuff |
341 | | virtual bool GoToMenu(QString str) { return false; } |
| 341 | virtual bool GoToMenu(QString /*str*/) { return false; } |
342 | 342 | virtual void GoToDVDProgram(bool direction) { (void) direction; } |
343 | 343 | virtual bool IsInStillFrame() const { return false; } |
344 | 344 | |
-
diff --git a/mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp b/mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp
index ce8d8ae..6514fc9 100644
a
|
b
|
bool ExternIO::Run(void) |
208 | 208 | return true; |
209 | 209 | } |
210 | 210 | |
211 | | void ExternIO::Term(bool force) |
| 211 | void ExternIO::Term(bool /*force*/) |
212 | 212 | { |
213 | 213 | LOG(VB_RECORD, LOG_INFO, QString("ExternIO::Term()")); |
214 | 214 | } |
… |
… |
void ExternalStreamHandler::PurgeBuffer(void) |
1120 | 1120 | } |
1121 | 1121 | } |
1122 | 1122 | |
1123 | | void ExternalStreamHandler::PriorityEvent(int fd) |
| 1123 | void ExternalStreamHandler::PriorityEvent(int /*fd*/) |
1124 | 1124 | { |
1125 | 1125 | // TODO report on buffer overruns, etc. |
1126 | 1126 | } |
-
diff --git a/mythtv/libs/libmythtv/recorders/channelbase.h b/mythtv/libs/libmythtv/recorders/channelbase.h
index 5db7f55..84eecef 100644
a
|
b
|
class ChannelBase |
55 | 55 | virtual void SetFd(int fd) { (void)fd; }; |
56 | 56 | /// \brief Returns file descriptor, -1 if it does not exist. |
57 | 57 | virtual int GetFd(void) const { return -1; }; |
58 | | virtual bool Tune(const QString &freqid, int finetune) { return true; } |
| 58 | virtual bool Tune(const QString &, int) { return true; } |
59 | 59 | virtual bool IsExternalChannelChangeInUse(void); |
60 | 60 | |
61 | 61 | // Gets |
… |
… |
class ChannelBase |
93 | 93 | virtual bool InitPictureAttributes(void) { return false; } |
94 | 94 | virtual int GetPictureAttribute(PictureAttribute) const { return -1; } |
95 | 95 | virtual int ChangePictureAttribute( |
96 | | PictureAdjustType, PictureAttribute, bool up) { return -1; } |
| 96 | PictureAdjustType, PictureAttribute, bool) { return -1; } |
97 | 97 | |
98 | 98 | bool CheckChannel(const QString &channum) const; |
99 | 99 | |
-
diff --git a/mythtv/libs/libmythtv/recorders/dtvchannel.cpp b/mythtv/libs/libmythtv/recorders/dtvchannel.cpp
index e2a101d..86a1b68 100644
a
|
b
|
bool DTVChannel::SetChannelByString(const QString &channum) |
389 | 389 | return ok; |
390 | 390 | } |
391 | 391 | |
392 | | void DTVChannel::HandleScriptEnd(bool ok) |
| 392 | void DTVChannel::HandleScriptEnd(bool /*ok*/) |
393 | 393 | { |
394 | 394 | // MAYBE TODO? need to tell signal monitor to throw out any tables |
395 | 395 | // it saw on the last mux... |
-
diff --git a/mythtv/libs/libmythtv/recorders/dtvchannel.h b/mythtv/libs/libmythtv/recorders/dtvchannel.h
index 0f5fba4..4b03a78 100644
a
|
b
|
class DTVChannel : public ChannelBase |
52 | 52 | /// will need to implement this when adding support for new hardware. |
53 | 53 | virtual bool Tune(const DTVMultiplex &tuning) = 0; |
54 | 54 | /// \brief Performs IPTV Tuning. Only implemented by IPTVChannel. |
55 | | virtual bool Tune(const IPTVTuningData&, bool scanning) { return false; } |
| 55 | virtual bool Tune(const IPTVTuningData&, bool /*scanning*/) { return false; } |
56 | 56 | /// \brief Leave it up to the implementation to map the channnum |
57 | 57 | /// appropriately. |
58 | 58 | /// |
59 | 59 | /// Used by the ExternalRecorder. |
60 | | virtual bool Tune(const QString &channum) { return true; } |
| 60 | virtual bool Tune(const QString &/*channum*/) { return true; } |
61 | 61 | /// \brief Enters power saving mode if the card supports it |
62 | 62 | virtual bool EnterPowerSavingMode(void) |
63 | 63 | { |
… |
… |
class DTVChannel : public ChannelBase |
150 | 150 | uint mpeg_tsid, int mpeg_pnum); |
151 | 151 | void ClearDTVInfo(void) { SetDTVInfo(0, 0, 0, 0, -1); } |
152 | 152 | /// \brief Checks tuning for problems, and tries to fix them. |
153 | | virtual void CheckOptions(DTVMultiplex &tuning) const {} |
| 153 | virtual void CheckOptions(DTVMultiplex &/*tuning*/) const {} |
154 | 154 | virtual void HandleScriptEnd(bool ok); |
155 | 155 | |
156 | 156 | protected: |
-
diff --git a/mythtv/libs/libmythtv/recorders/dummychannel.h b/mythtv/libs/libmythtv/recorders/dummychannel.h
index 35b9466..ee3f721 100644
a
|
b
|
class DummyChannel : public ChannelBase |
20 | 20 | { (void)parent; m_curchannelname.clear(); curinputname.clear(); return; } |
21 | 21 | ~DummyChannel(void) { return; } |
22 | 22 | |
23 | | bool IsTunable(const QString &channum) const |
| 23 | bool IsTunable(const QString &/*channum*/) const |
24 | 24 | { return true; } |
25 | 25 | |
26 | 26 | bool Open(void) { return InitializeInput(); } |
-
diff --git a/mythtv/libs/libmythtv/recorders/mpegrecorder.h b/mythtv/libs/libmythtv/recorders/mpegrecorder.h
index 6189e64..a508674 100644
a
|
b
|
class MpegRecorder : public V4LRecorder, |
44 | 44 | bool ProcessTSPacket(const TSPacket &tspacket); |
45 | 45 | |
46 | 46 | // DeviceReaderCB |
47 | | virtual void ReaderPaused(int fd) { pauseWait.wakeAll(); } |
48 | | virtual void PriorityEvent(int fd) { } |
| 47 | virtual void ReaderPaused(int /*fd*/) { pauseWait.wakeAll(); } |
| 48 | virtual void PriorityEvent(int /*fd*/) { } |
49 | 49 | |
50 | 50 | private: |
51 | 51 | virtual void InitStreamData(void); |
-
diff --git a/mythtv/libs/libmythtv/recorders/streamhandler.h b/mythtv/libs/libmythtv/recorders/streamhandler.h
index eb4d2ed..8b00506 100644
a
|
b
|
class PIDInfo |
32 | 32 | streamType(stream_type), pesType(pes_type) {;} |
33 | 33 | virtual ~PIDInfo() {;} |
34 | 34 | |
35 | | virtual bool Open(const QString &dev, bool use_section_reader) |
| 35 | virtual bool Open(const QString &/*dev*/, bool /*use_section_reader*/) |
36 | 36 | { return false; } |
37 | | virtual bool Close(const QString &dev) { return false; } |
| 37 | virtual bool Close(const QString &/*dev*/) { return false; } |
38 | 38 | bool IsOpen(void) const { return filter_fd >= 0; } |
39 | 39 | |
40 | 40 | uint _pid; |
-
diff --git a/mythtv/libs/libmythtv/recorders/v4lrecorder.h b/mythtv/libs/libmythtv/recorders/v4lrecorder.h
index b40f8d4..df4fc1b 100644
a
|
b
|
class MTV_PUBLIC V4LRecorder : public DTVRecorder |
39 | 39 | void RunVBIDevice(void); |
40 | 40 | |
41 | 41 | virtual bool IsHelperRequested(void) const; |
42 | | virtual void FormatTT(struct VBIData *vbidata) {} |
43 | | virtual void FormatCC(uint code1, uint code2) {} |
| 42 | virtual void FormatTT(struct VBIData */*vbidata*/) {} |
| 43 | virtual void FormatCC(uint /*code1*/, uint /*code2*/) {} |
44 | 44 | |
45 | 45 | protected: |
46 | 46 | QString audiodevice; |
-
diff --git a/mythtv/libs/libmythtv/ringbuffer.h b/mythtv/libs/libmythtv/ringbuffer.h
index 201537e..9c23115 100644
a
|
b
|
class MTV_PUBLIC RingBuffer : protected MThread |
109 | 109 | DVDRingBuffer *DVD(void); |
110 | 110 | BDRingBuffer *BD(void); |
111 | 111 | virtual bool StartFromBeginning(void) { return true; } |
112 | | virtual void IgnoreWaitStates(bool ignore) { } |
| 112 | virtual void IgnoreWaitStates(bool /*ignore*/) { } |
113 | 113 | virtual bool IsInMenu(void) const { return false; } |
114 | 114 | virtual bool IsInStillFrame(void) const { return false; } |
115 | 115 | virtual bool IsInDiscMenuOrStillFrame(void) const { return IsInMenu() || IsInStillFrame(); } |
… |
… |
class MTV_PUBLIC RingBuffer : protected MThread |
125 | 125 | */ |
126 | 126 | virtual bool OpenFile(const QString &lfilename, |
127 | 127 | uint retry_ms = kDefaultOpenTimeout) = 0; |
128 | | virtual bool ReOpen(QString newFilename = "") { return false; } |
| 128 | virtual bool ReOpen(QString /*newFilename*/ = "") { return false; } |
129 | 129 | |
130 | 130 | int Read(void *buf, int count); |
131 | 131 | int Peek(void *buf, int count); // only works with readahead |
-
diff --git a/mythtv/libs/libmythtv/v4l2util.cpp b/mythtv/libs/libmythtv/v4l2util.cpp
index bf73e22..c792099 100644
a
|
b
|
bool V4L2util::ResumeEncoding(void) |
1225 | 1225 | return SetEncoderState(V4L2_ENC_CMD_RESUME, "Resume"); |
1226 | 1226 | } |
1227 | 1227 | |
1228 | | bool V4L2util::OpenVBI(const QString& vbi_dev_name) |
| 1228 | bool V4L2util::OpenVBI(const QString& /*vbi_dev_name*/) |
1229 | 1229 | { |
1230 | 1230 | return false; |
1231 | 1231 | } |
-
diff --git a/mythtv/libs/libmythtv/videoout_null.h b/mythtv/libs/libmythtv/videoout_null.h
index acdfeb6..3e9bcad 100644
a
|
b
|
class VideoOutputNull : public VideoOutput |
39 | 39 | static QStringList GetAllowedRenderers(MythCodecID myth_codec_id, |
40 | 40 | const QSize &video_dim); |
41 | 41 | void MoveResizeWindow(QRect ) {;} |
42 | | virtual bool SetupVisualisation(AudioPlayer *audio, MythRender *render, |
43 | | const QString &name) { return false; } |
| 42 | virtual bool SetupVisualisation(AudioPlayer *, MythRender *, |
| 43 | const QString &) { return false; } |
44 | 44 | |
45 | 45 | private: |
46 | 46 | QMutex global_lock; |
-
diff --git a/mythtv/libs/libmythtv/videoout_nullvaapi.h b/mythtv/libs/libmythtv/videoout_nullvaapi.h
index 9689044..b9c685d 100644
a
|
b
|
class VideoOutputNullVAAPI : public VideoOutput |
25 | 25 | void *codec_private, |
26 | 26 | bool &aspect_only); |
27 | 27 | |
28 | | virtual bool SetupDeinterlace(bool, const QString &ovrf = "") { return false; } |
| 28 | virtual bool SetupDeinterlace(bool, const QString & = "") { return false; } |
29 | 29 | virtual bool SetDeinterlacingEnabled(bool) { return false; } |
30 | | virtual bool ApproveDeintFilter(const QString& filtername) const { return false; } |
| 30 | virtual bool ApproveDeintFilter(const QString&) const { return false; } |
31 | 31 | virtual void ReleaseFrame(VideoFrame *frame); |
32 | | virtual void ProcessFrame(VideoFrame *frame, OSD *osd, |
33 | | FilterChain *filterList, |
34 | | const PIPMap &pipPlayers, |
35 | | FrameScanType scan) {;} |
36 | | virtual void PrepareFrame(VideoFrame *buffer, |
37 | | FrameScanType, OSD *osd) {;} |
| 32 | virtual void ProcessFrame(VideoFrame *, OSD *, |
| 33 | FilterChain *, |
| 34 | const PIPMap &, |
| 35 | FrameScanType) {;} |
| 36 | virtual void PrepareFrame(VideoFrame *, |
| 37 | FrameScanType, OSD *) {;} |
38 | 38 | virtual void Show(FrameScanType ) {;} |
39 | 39 | |
40 | | virtual void Zoom(ZoomDirection direction) {;} |
41 | | virtual void EmbedInWidget(const QRect &rect) {;} |
| 40 | virtual void Zoom(ZoomDirection) {;} |
| 41 | virtual void EmbedInWidget(const QRect &) {;} |
42 | 42 | virtual void StopEmbedding(void) {;} |
43 | | virtual void DrawUnusedRects(bool sync = true) {;} |
44 | | virtual void UpdatePauseFrame(int64_t &disp_timecode) {;} |
| 43 | virtual void DrawUnusedRects(bool = true) {;} |
| 44 | virtual void UpdatePauseFrame(int64_t &) {;} |
45 | 45 | virtual void MoveResizeWindow(QRect ) {;} |
46 | | virtual bool CanVisualise(AudioPlayer *audio, MythRender *render) |
| 46 | virtual bool CanVisualise(AudioPlayer *, MythRender *) |
47 | 47 | { return false; } |
48 | | virtual bool SetupVisualisation(AudioPlayer *audio, MythRender *render, |
49 | | const QString &name) { return false; } |
| 48 | virtual bool SetupVisualisation(AudioPlayer *, MythRender *, |
| 49 | const QString &) { return false; } |
50 | 50 | virtual MythPainter *GetOSDPainter(void) { return NULL; } |
51 | 51 | virtual VideoFrame *GetLastDecodedFrame(void); |
52 | 52 | virtual VideoFrame *GetLastShownFrame(void); |
-
diff --git a/mythtv/libs/libmythtv/videoout_nullvdpau.cpp b/mythtv/libs/libmythtv/videoout_nullvdpau.cpp
index 8952e1b..c4a5480 100644
a
|
b
|
bool VideoOutputNullVDPAU::BufferSizeCheck(void) |
610 | 610 | return true; |
611 | 611 | } |
612 | 612 | |
613 | | void* VideoOutputNullVDPAU::GetDecoderContext(unsigned char* buf, uint8_t*& id) |
| 613 | void* VideoOutputNullVDPAU::GetDecoderContext(unsigned char* /*buf*/, uint8_t*& /*id*/) |
614 | 614 | { |
615 | 615 | return &m_context; |
616 | 616 | } |
-
diff --git a/mythtv/libs/libmythtv/videoout_nullvdpau.h b/mythtv/libs/libmythtv/videoout_nullvdpau.h
index 4eb3759..0978c6c 100644
a
|
b
|
class VideoOutputNullVDPAU : public VideoOutput |
46 | 46 | MythCodecID av_codec_id, |
47 | 47 | void *codec_private, |
48 | 48 | bool &aspect_only); |
49 | | virtual bool SetupDeinterlace(bool, const QString &ovrf = "") { return false; } |
| 49 | virtual bool SetupDeinterlace(bool, const QString & = "") { return false; } |
50 | 50 | virtual bool SetDeinterlacingEnabled(bool) { return false; } |
51 | | virtual bool ApproveDeintFilter(const QString& filtername) const { return false; } |
| 51 | virtual bool ApproveDeintFilter(const QString&) const { return false; } |
52 | 52 | virtual void ClearAfterSeek(void); |
53 | 53 | virtual void ReleaseFrame(VideoFrame *frame); |
54 | | virtual void ProcessFrame(VideoFrame *frame, OSD *osd, |
55 | | FilterChain *filterList, |
56 | | const PIPMap &pipPlayers, |
57 | | FrameScanType scan) {;} |
58 | | virtual void PrepareFrame(VideoFrame *buffer, |
59 | | FrameScanType, OSD *osd) {;} |
| 54 | virtual void ProcessFrame(VideoFrame *, OSD *, |
| 55 | FilterChain *, |
| 56 | const PIPMap &, |
| 57 | FrameScanType) {;} |
| 58 | virtual void PrepareFrame(VideoFrame *, |
| 59 | FrameScanType, OSD *) {;} |
60 | 60 | virtual void Show(FrameScanType ) {;} |
61 | 61 | |
62 | | virtual void Zoom(ZoomDirection direction) {;} |
63 | | virtual void EmbedInWidget(const QRect &rect) {;} |
| 62 | virtual void Zoom(ZoomDirection) {;} |
| 63 | virtual void EmbedInWidget(const QRect &) {;} |
64 | 64 | virtual void StopEmbedding(void) {;} |
65 | | virtual void DrawUnusedRects(bool sync = true) {;} |
66 | | virtual void UpdatePauseFrame(int64_t &disp_timecode) {;} |
| 65 | virtual void DrawUnusedRects(bool = true) {;} |
| 66 | virtual void UpdatePauseFrame(int64_t &) {;} |
67 | 67 | virtual void MoveResizeWindow(QRect ) {;} |
68 | | virtual bool CanVisualise(AudioPlayer *audio, MythRender *render) |
| 68 | virtual bool CanVisualise(AudioPlayer *, MythRender *) |
69 | 69 | { return false; } |
70 | | virtual bool SetupVisualisation(AudioPlayer *audio, MythRender *render, |
71 | | const QString &name) { return false; } |
| 70 | virtual bool SetupVisualisation(AudioPlayer *, MythRender *, |
| 71 | const QString &) { return false; } |
72 | 72 | virtual MythPainter *GetOSDPainter(void) { return NULL; } |
73 | 73 | virtual void DrawSlice(VideoFrame *frame, int x, int y, int w, int h); |
74 | 74 | |
-
diff --git a/mythtv/libs/libmythtv/videoout_openglvaapi.cpp b/mythtv/libs/libmythtv/videoout_openglvaapi.cpp
index 203c6c5..8d5ea54 100644
a
|
b
|
bool VideoOutputOpenGLVAAPI::SetDeinterlacingEnabled(bool enable) |
222 | 222 | return m_deinterlacing; |
223 | 223 | } |
224 | 224 | |
225 | | bool VideoOutputOpenGLVAAPI::SetupDeinterlace(bool i, const QString& ovrf) |
| 225 | bool VideoOutputOpenGLVAAPI::SetupDeinterlace(bool i, const QString& /*ovrf*/) |
226 | 226 | { |
227 | 227 | //m_deintfiltername = !db_vdisp_profile ? "" : |
228 | 228 | // db_vdisp_profile->GetFilteredDeint(ovrf); |
-
diff --git a/mythtv/libs/libmythtv/videoout_vdpau.cpp b/mythtv/libs/libmythtv/videoout_vdpau.cpp
index 3b2153e..07f6e6d 100644
a
|
b
|
void VideoOutputVDPAU::SetVideoFlip(void) |
1339 | 1339 | m_render->SetVideoFlip(); |
1340 | 1340 | } |
1341 | 1341 | |
1342 | | void* VideoOutputVDPAU::GetDecoderContext(unsigned char* buf, uint8_t*& id) |
| 1342 | void* VideoOutputVDPAU::GetDecoderContext(unsigned char* /*buf*/, uint8_t*& /*id*/) |
1343 | 1343 | { |
1344 | 1344 | return &m_context; |
1345 | 1345 | } |
-
diff --git a/mythtv/libs/libmythtv/videooutbase.h b/mythtv/libs/libmythtv/videooutbase.h
index afc7abf..dd2a0eb 100644
a
|
b
|
class VideoOutput |
78 | 78 | OSD *osd) = 0; |
79 | 79 | virtual void Show(FrameScanType) = 0; |
80 | 80 | |
81 | | virtual void WindowResized(const QSize &new_size) {} |
| 81 | virtual void WindowResized(const QSize &) {} |
82 | 82 | |
83 | 83 | virtual bool InputChanged(const QSize &video_dim_buf, |
84 | 84 | const QSize &video_dim_disp, |
… |
… |
class VideoOutput |
152 | 152 | |
153 | 153 | /// \brief Return true if HW Acceleration is running |
154 | 154 | virtual bool hasHWAcceleration(void) const { return false; } |
155 | | virtual void* GetDecoderContext(unsigned char* buf, uint8_t*& id) { return NULL; } |
| 155 | virtual void* GetDecoderContext(unsigned char*, uint8_t*&) { return NULL; } |
156 | 156 | |
157 | 157 | /// \brief Sets the number of frames played |
158 | 158 | virtual void SetFramesPlayed(long long fp) { framesPlayed = fp; }; |
… |
… |
class VideoOutput |
244 | 244 | virtual QRect GetPIPRect(PIPLocation location, |
245 | 245 | MythPlayer *pipplayer = NULL, |
246 | 246 | bool do_pixel_adj = true) const; |
247 | | virtual void RemovePIP(MythPlayer *pipplayer) { } |
| 247 | virtual void RemovePIP(MythPlayer *) { } |
248 | 248 | |
249 | 249 | virtual void SetPIPState(PIPState setting); |
250 | 250 | |
251 | 251 | virtual QString GetOSDRenderer(void) const; |
252 | 252 | virtual MythPainter *GetOSDPainter(void) { return (MythPainter*)osd_painter; } |
253 | | virtual bool GetScreenShot(int width = 0, int height = 0, |
254 | | QString filename = "") { return false; } |
| 253 | virtual bool GetScreenShot(int = 0, int = 0, QString = "") { return false; } |
255 | 254 | |
256 | 255 | QString GetFilters(void) const; |
257 | 256 | /// \brief translates caption/dvd button rectangle into 'screen' space |
-
diff --git a/mythtv/libs/libmythtv/videosource.h b/mythtv/libs/libmythtv/videosource.h
index 96cba4f..e559700 100644
a
|
b
|
class MTV_PUBLIC CaptureCardEditor : public QObject, public ConfigurationDialog |
777 | 777 | virtual void Load(void); |
778 | 778 | |
779 | 779 | virtual void Save(void) { } |
780 | | virtual void Save(QString destination) { } |
| 780 | virtual void Save(QString /*destination*/) { } |
781 | 781 | |
782 | 782 | public slots: |
783 | 783 | void menu(void); |
-
diff --git a/mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp b/mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp
index 6ac4af3..ebbe227 100644
a
|
b
|
static class VideoVisualSpectrumFactory : public VideoVisualFactory |
202 | 202 | return new VideoVisualSpectrum(audio, render); |
203 | 203 | } |
204 | 204 | |
205 | | virtual bool SupportedRenderer(RenderType type) { return true; } |
| 205 | virtual bool SupportedRenderer(RenderType /*type*/) { return true; } |
206 | 206 | } VideoVisualSpectrumFactory; |
-
diff --git a/mythtv/libs/libmythtv/vsync.h b/mythtv/libs/libmythtv/vsync.h
index 94cbd4e..56ab9f9 100644
a
|
b
|
class DummyVideoSync : public VideoSync |
220 | 220 | |
221 | 221 | QString getName(void) const { return QString("Dummy"); } |
222 | 222 | bool TryInit(void) { return true; } |
223 | | int WaitForFrame(int sync_delay) { return 0; } |
| 223 | int WaitForFrame(int /*sync_delay*/) { return 0; } |
224 | 224 | }; |
225 | 225 | #endif /* VSYNC_H_INCLUDED */ |
-
diff --git a/mythtv/libs/libmythui/mythpainter.cpp b/mythtv/libs/libmythui/mythpainter.cpp
index 0a96b97..3c4b0da 100644
a
|
b
|
void MythPainter::SetClipRegion(const QRegion &) |
55 | 55 | { |
56 | 56 | } |
57 | 57 | |
58 | | void MythPainter::Clear(QPaintDevice *device, const QRegion ®ion) |
| 58 | void MythPainter::Clear(QPaintDevice */*device*/, const QRegion &/*region*/) |
59 | 59 | { |
60 | 60 | } |
61 | 61 | |
-
diff --git a/mythtv/libs/libmythui/mythpainter_qimage.h b/mythtv/libs/libmythui/mythpainter_qimage.h
index c75b2e6..970abd3 100644
a
|
b
|
class MUI_PUBLIC MythQImagePainter : public MythPainter |
47 | 47 | |
48 | 48 | protected: |
49 | 49 | virtual MythImage* GetFormatImagePriv(void) { return new MythImage(this); } |
50 | | virtual void DeleteFormatImagePriv(MythImage *im) { } |
| 50 | virtual void DeleteFormatImagePriv(MythImage */*im*/) { } |
51 | 51 | |
52 | 52 | void CheckPaintMode(const QRect &area); |
53 | 53 | |
-
diff --git a/mythtv/libs/libmythui/mythrender_opengl.h b/mythtv/libs/libmythui/mythrender_opengl.h
index a06d153..8aff517 100644
a
|
b
|
class MUI_PUBLIC MythRenderOpenGL : protected MythRenderContext, public MythRend |
155 | 155 | virtual void PopTransformation(void) = 0; |
156 | 156 | void Flush(bool use_fence); |
157 | 157 | void SetBlend(bool enable); |
158 | | virtual void SetColor(int r, int g, int b, int a) { } |
| 158 | virtual void SetColor(int /*r*/, int /*g*/, int /*b*/, int /*a*/) { } |
159 | 159 | void SetBackground(int r, int g, int b, int a); |
160 | 160 | void SetFence(void); |
161 | 161 | |
-
diff --git a/mythtv/libs/libmythui/mythrender_opengl1.h b/mythtv/libs/libmythui/mythrender_opengl1.h
index ce651df..f805dd2 100644
a
|
b
|
class MUI_PUBLIC MythRenderOpenGL1 : public MythRenderOpenGL |
33 | 33 | uint prog); |
34 | 34 | virtual void DrawRectPriv(const QRect &area, const QBrush &fillBrush, |
35 | 35 | const QPen &linePen, int alpha); |
36 | | virtual void DrawRoundRectPriv(const QRect &area, int cornerRadius, |
37 | | const QBrush &fillBrush, const QPen &linePen, |
38 | | int alpha) { } |
| 36 | virtual void DrawRoundRectPriv(const QRect &/*area*/, int /*cornerRadius*/, |
| 37 | const QBrush &/*fillBrush*/, const QPen &/*linePen*/, |
| 38 | int /*alpha*/) { } |
39 | 39 | |
40 | 40 | virtual void Init2DState(void); |
41 | 41 | virtual void InitProcs(void); |
-
diff --git a/mythtv/libs/libmythui/mythrender_vdpau.cpp b/mythtv/libs/libmythui/mythrender_vdpau.cpp
index fae4e7a..f80120d 100644
a
|
b
|
void MythRenderVDPAU::Decode(uint id, struct vdpau_render_state *render, |
1596 | 1596 | CHECK_ST |
1597 | 1597 | } |
1598 | 1598 | |
1599 | | static const char* dummy_get_error_string(VdpStatus status) |
| 1599 | static const char* dummy_get_error_string(VdpStatus /*status*/) |
1600 | 1600 | { |
1601 | 1601 | static const char dummy[] = "Unknown"; |
1602 | 1602 | return &dummy[0]; |
-
diff --git a/mythtv/libs/libmythupnp/serializers/serializer.h b/mythtv/libs/libmythupnp/serializers/serializer.h
index c5645b9..470b706 100644
a
|
b
|
class UPNP_PUBLIC Serializer |
34 | 34 | |
35 | 35 | QCryptographicHash m_hash; |
36 | 36 | |
37 | | virtual void BeginSerialize( QString &sName ) {} |
| 37 | virtual void BeginSerialize( QString &/*sName*/ ) {} |
38 | 38 | virtual void EndSerialize () {} |
39 | 39 | |
40 | 40 | virtual void BeginObject( const QString &sName, const QObject *pObject ) = 0; |
-
diff --git a/mythtv/libs/libmythupnp/upnpcds.cpp b/mythtv/libs/libmythupnp/upnpcds.cpp
index 29c231d..cc86e75 100644
a
|
b
|
QString UPnpCDSExtension::RemoveToken( const QString &sToken, |
964 | 964 | * \return true if we could load the metadata |
965 | 965 | * |
966 | 966 | */ |
967 | | bool UPnpCDSExtension::LoadMetadata(const UPnpCDSRequest* pRequest, |
968 | | UPnpCDSExtensionResults* pResults, |
969 | | IDTokenMap tokens, QString currentToken) |
| 967 | bool UPnpCDSExtension::LoadMetadata(const UPnpCDSRequest* /*pRequest*/, |
| 968 | UPnpCDSExtensionResults* /*pResults*/, |
| 969 | IDTokenMap /*tokens*/, QString /*currentToken*/) |
970 | 970 | { |
971 | 971 | return false; |
972 | 972 | } |
… |
… |
bool UPnpCDSExtension::LoadMetadata(const UPnpCDSRequest* pRequest, |
985 | 985 | * \return true if we could load the children |
986 | 986 | * |
987 | 987 | */ |
988 | | bool UPnpCDSExtension::LoadChildren(const UPnpCDSRequest* pRequest, |
989 | | UPnpCDSExtensionResults* pResults, |
990 | | IDTokenMap tokens, QString currentToken) |
| 988 | bool UPnpCDSExtension::LoadChildren(const UPnpCDSRequest* /*pRequest*/, |
| 989 | UPnpCDSExtensionResults* /*pResults*/, |
| 990 | IDTokenMap /*tokens*/, QString /*currentToken*/) |
991 | 991 | { |
992 | 992 | return false; |
993 | 993 | } |
-
diff --git a/mythtv/libs/libmythupnp/websocket.cpp b/mythtv/libs/libmythupnp/websocket.cpp
index 66119bd..bbbba87 100644
a
|
b
|
void WebSocketWorker::ProcessFrames(QTcpSocket *socket) |
655 | 655 | } |
656 | 656 | } |
657 | 657 | |
658 | | void WebSocketWorker::HandleControlFrame(const WebSocketFrame &frame) |
| 658 | void WebSocketWorker::HandleControlFrame(const WebSocketFrame &/*frame*/) |
659 | 659 | { |
660 | | |
661 | 660 | } |
662 | 661 | |
663 | 662 | void WebSocketWorker::HandleDataFrame(const WebSocketFrame &frame) |
-
diff --git a/mythtv/libs/libmythupnp/websocket.h b/mythtv/libs/libmythupnp/websocket.h
index 9a130f5..64970a6 100644
a
|
b
|
class WebSocketExtension : public QObject |
142 | 142 | WebSocketExtension() : QObject() { }; |
143 | 143 | virtual ~WebSocketExtension() {}; |
144 | 144 | |
145 | | virtual bool HandleTextFrame(const WebSocketFrame &frame) { return false; } |
146 | | virtual bool HandleBinaryFrame(const WebSocketFrame &frame) { return false; } |
| 145 | virtual bool HandleTextFrame(const WebSocketFrame &/*frame*/) { return false; } |
| 146 | virtual bool HandleBinaryFrame(const WebSocketFrame &/*frame*/) { return false; } |
147 | 147 | |
148 | 148 | signals: |
149 | 149 | void SendTextMessage(const QString &); |
-
diff --git a/mythtv/programs/mythbackend/services/capture.h b/mythtv/programs/mythbackend/services/capture.h
index 55cb177..1507953 100644
a
|
b
|
class Capture : public CaptureServices |
36 | 36 | |
37 | 37 | public: |
38 | 38 | |
39 | | Q_INVOKABLE explicit Capture( QObject *parent = 0 ) {} |
| 39 | Q_INVOKABLE explicit Capture( QObject */*parent*/ = 0 ) {} |
40 | 40 | |
41 | 41 | public: |
42 | 42 | |
-
diff --git a/mythtv/programs/mythbackend/services/channel.h b/mythtv/programs/mythbackend/services/channel.h
index 800caa5..aecb8a5 100644
a
|
b
|
class Channel : public ChannelServices |
36 | 36 | |
37 | 37 | public: |
38 | 38 | |
39 | | Q_INVOKABLE explicit Channel( QObject *parent = 0 ) {} |
| 39 | Q_INVOKABLE explicit Channel( QObject */*parent*/ = 0 ) {} |
40 | 40 | |
41 | 41 | public: |
42 | 42 | |
-
diff --git a/mythtv/programs/mythbackend/services/content.h b/mythtv/programs/mythbackend/services/content.h
index 25a9661..da6a972 100644
a
|
b
|
class Content : public ContentServices |
36 | 36 | |
37 | 37 | public: |
38 | 38 | |
39 | | Q_INVOKABLE explicit Content( QObject *parent = 0 ) {} |
| 39 | Q_INVOKABLE explicit Content( QObject */*parent*/ = 0 ) {} |
40 | 40 | |
41 | 41 | public: |
42 | 42 | |
-
diff --git a/mythtv/programs/mythbackend/services/dvr.h b/mythtv/programs/mythbackend/services/dvr.h
index ff28e5d..3e42971 100644
a
|
b
|
class Dvr : public DvrServices |
36 | 36 | |
37 | 37 | public: |
38 | 38 | |
39 | | Q_INVOKABLE explicit Dvr( QObject *parent = 0 ) {} |
| 39 | Q_INVOKABLE explicit Dvr( QObject */*parent*/ = 0 ) {} |
40 | 40 | |
41 | 41 | public: |
42 | 42 | |
-
diff --git a/mythtv/programs/mythbackend/services/guide.h b/mythtv/programs/mythbackend/services/guide.h
index d81331b..d3d7239 100644
a
|
b
|
class Guide : public GuideServices |
43 | 43 | |
44 | 44 | public: |
45 | 45 | |
46 | | Q_INVOKABLE explicit Guide( QObject *parent = 0 ) {} |
| 46 | Q_INVOKABLE explicit Guide( QObject */*parent*/ = 0 ) {} |
47 | 47 | |
48 | 48 | public: |
49 | 49 | |
-
diff --git a/mythtv/programs/mythbackend/services/image.h b/mythtv/programs/mythbackend/services/image.h
index 3449604..190698e 100644
a
|
b
|
class Image : public ImageServices |
32 | 32 | Q_OBJECT |
33 | 33 | |
34 | 34 | public: |
35 | | Q_INVOKABLE explicit Image( QObject *parent = 0 ) {} |
| 35 | Q_INVOKABLE explicit Image( QObject */*parent*/ = 0 ) {} |
36 | 36 | |
37 | 37 | public: |
38 | 38 | QString GetImageInfo ( int Id, |
-
diff --git a/mythtv/programs/mythbackend/services/video.h b/mythtv/programs/mythbackend/services/video.h
index 1fe1ecb..f3f8207 100644
a
|
b
|
class Video : public VideoServices |
38 | 38 | |
39 | 39 | public: |
40 | 40 | |
41 | | Q_INVOKABLE explicit Video( QObject *parent = 0 ) {} |
| 41 | Q_INVOKABLE explicit Video( QObject */*parent*/ = 0 ) {} |
42 | 42 | |
43 | 43 | public: |
44 | 44 | |
-
diff --git a/mythtv/programs/mythtranscode/audioreencodebuffer.h b/mythtv/programs/mythtranscode/audioreencodebuffer.h
index 041e7ea..91066ec 100644
a
|
b
|
class AudioReencodeBuffer : public AudioOutput |
59 | 59 | virtual void ToggleMute(void) { } |
60 | 60 | virtual MuteState GetMuteState(void) const { return kMuteOff; } |
61 | 61 | virtual MuteState IterateMutedChannels(void) { return kMuteOff; } |
62 | | virtual void SetSWVolume(int new_volume, bool save) { return; } |
| 62 | virtual void SetSWVolume(int, bool) { return; } |
63 | 63 | virtual int GetSWVolume(void) { return 100; } |
64 | 64 | virtual bool CanPassthrough(int, int, int, int) const |
65 | 65 | { return m_initpassthru; } |
-
diff --git a/mythtv/programs/mythutil/mpegutils.cpp b/mythtv/programs/mythutil/mpegutils.cpp
index 8896fc0..497a49c 100644
a
|
b
|
class PrintMPEGStreamListener : public MPEGStreamListener, public PrintOutput |
500 | 500 | } |
501 | 501 | } |
502 | 502 | |
503 | | void HandleEncryptionStatus(uint program_number, bool) |
| 503 | void HandleEncryptionStatus(uint /*program_number*/, bool /*encrypted*/) |
504 | 504 | { |
505 | 505 | } |
506 | 506 | |
… |
… |
class PrintATSCAuxStreamListener : |
602 | 602 | PrintOutput(out, use_xml) { } |
603 | 603 | |
604 | 604 | virtual void HandleTVCT( |
605 | | uint pid, const TerrestrialVirtualChannelTable *tvct) |
| 605 | uint /*pid*/, const TerrestrialVirtualChannelTable */*tvct*/) |
606 | 606 | { |
607 | 607 | // already handled in HandleVCT |
608 | 608 | } |
609 | 609 | |
610 | | virtual void HandleCVCT(uint pid, const CableVirtualChannelTable *cvct) |
| 610 | virtual void HandleCVCT(uint /*pid*/, const CableVirtualChannelTable */*cvct*/) |
611 | 611 | { |
612 | 612 | // already handled in HandleVCT |
613 | 613 | } |