Make const
This commit is contained in:
@@ -394,7 +394,7 @@ GstBusSyncReply Transcoder::BusCallbackSync(GstBus*, GstMessage *msg, gpointer d
|
||||
|
||||
}
|
||||
|
||||
void Transcoder::JobState::ReportError(GstMessage *msg) {
|
||||
void Transcoder::JobState::ReportError(GstMessage *msg) const {
|
||||
|
||||
GError *error = nullptr;
|
||||
gchar *debugs = nullptr;
|
||||
|
||||
@@ -100,7 +100,7 @@ class Transcoder : public QObject {
|
||||
~JobState();
|
||||
|
||||
void PostFinished(const bool success);
|
||||
void ReportError(GstMessage *msg);
|
||||
void ReportError(GstMessage *msg) const;
|
||||
|
||||
Job job_;
|
||||
Transcoder *parent_;
|
||||
|
||||
Reference in New Issue
Block a user