From: Martin Ling Date: Sun, 30 Dec 2018 03:10:17 +0000 (+0100) Subject: Don't create pad, already done by BaseSink. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9ffbb03c74179c779c8ce3dab90672cc0b65b907;p=libsigrokflow.git Don't create pad, already done by BaseSink. --- diff --git a/src/main.cpp b/src/main.cpp index 79af3ec..10baaec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -182,7 +182,6 @@ LegacyOutput::LegacyOutput(GstBaseSink *gobj) : Glib::ObjectBase(typeid(LegacyOutput)), Sink(gobj) { - add_pad(_sink_pad = Gst::Pad::create(get_pad_template("sink"), "sink")); } Glib::RefPtrLegacyOutput::create(