]> sigrok.org Git - libsigrokflow.git/commitdiff
Don't create pad, already done by BaseSink.
authorMartin Ling <redacted>
Sun, 30 Dec 2018 03:10:17 +0000 (04:10 +0100)
committerUwe Hermann <redacted>
Tue, 8 Jan 2019 18:41:58 +0000 (19:41 +0100)
src/main.cpp

index 79af3ec39d45aa455d25cc50e00fa32e3d2c48cf..10baaeced4e2db7f7e82cb25986f7f9d8e0bab3c 100644 (file)
@@ -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::RefPtr<LegacyOutput>LegacyOutput::create(