Add missing names for parameter variables
This commit is contained in:
@@ -350,7 +350,9 @@ Transcoder::StartJobStatus Transcoder::MaybeStartNextJob() {
|
||||
|
||||
}
|
||||
|
||||
void Transcoder::NewPadCallback(GstElement*, GstPad *pad, gpointer data) {
|
||||
void Transcoder::NewPadCallback(GstElement *element, GstPad *pad, gpointer data) {
|
||||
|
||||
Q_UNUSED(element)
|
||||
|
||||
JobState *state = reinterpret_cast<JobState*>(data);
|
||||
GstPad *const audiopad = gst_element_get_static_pad(state->convert_element_, "sink");
|
||||
@@ -365,7 +367,9 @@ void Transcoder::NewPadCallback(GstElement*, GstPad *pad, gpointer data) {
|
||||
|
||||
}
|
||||
|
||||
GstBusSyncReply Transcoder::BusCallbackSync(GstBus*, GstMessage *msg, gpointer data) {
|
||||
GstBusSyncReply Transcoder::BusCallbackSync(GstBus *bus, GstMessage *msg, gpointer data) {
|
||||
|
||||
Q_UNUSED(bus)
|
||||
|
||||
JobState *state = reinterpret_cast<JobState*>(data);
|
||||
switch (GST_MESSAGE_TYPE(msg)) {
|
||||
|
||||
@@ -138,8 +138,8 @@ class Transcoder : public QObject {
|
||||
GstElement *CreateElementForMimeType(GstElementFactoryListType element_type, const QString &mime_type, GstElement *bin = nullptr);
|
||||
void SetElementProperties(const QString &name, GObject *object);
|
||||
|
||||
static void NewPadCallback(GstElement*, GstPad *pad, gpointer data);
|
||||
static GstBusSyncReply BusCallbackSync(GstBus*, GstMessage *msg, gpointer data);
|
||||
static void NewPadCallback(GstElement *element, GstPad *pad, gpointer data);
|
||||
static GstBusSyncReply BusCallbackSync(GstBus *bus, GstMessage *msg, gpointer data);
|
||||
|
||||
private:
|
||||
using JobStateList = QList<SharedPtr<JobState>>;
|
||||
|
||||
Reference in New Issue
Block a user