]> sigrok.org Git - libsigrokflow.git/commitdiff
LegacyInput::chain(): Always name all parameters.
authorUwe Hermann <redacted>
Thu, 17 Jan 2019 23:25:41 +0000 (00:25 +0100)
committerUwe Hermann <redacted>
Thu, 17 Jan 2019 23:25:41 +0000 (00:25 +0100)
src/legacy_input.cpp

index e862ca4af7c99edded8f709b43ca0ec03692874a..5e67658cd7482a251ce798eb3d49144f1eaabd41 100644 (file)
@@ -121,9 +121,11 @@ void LegacyInput::datafeed_callback(
        }
 }
 
-Gst::FlowReturn LegacyInput::chain(const Glib::RefPtr<Gst::Pad> &,
+Gst::FlowReturn LegacyInput::chain(const Glib::RefPtr<Gst::Pad> &pad,
        const Glib::RefPtr<Gst::Buffer> &buf)
 {
+       (void)pad;
+
        Gst::MapInfo info;
        buf->map(info, Gst::MAP_READ);
        libsigrok_input_->send(info.get_data(), info.get_size());