decklinksink: obtain class from object
authorMark Nauwelaerts <mnauw@users.sourceforge.net>
Mon, 18 Mar 2013 20:12:00 +0000 (21:12 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 22 Mar 2013 10:38:22 +0000 (10:38 +0000)
sys/decklink/gstdecklinksink.cpp

index 76db5077ac9207dfa30d212f24658a42767f1859..48d0c826cd0375ba019e820d08d69f7b92df6333 100644 (file)
@@ -148,7 +148,7 @@ gst_decklink_sink_init (GstDecklinkSink * decklinksink)
 {
   GstDecklinkSinkClass *decklinksink_class;
 
-  decklinksink_class = GST_DECKLINK_SINK_GET_CLASS (decklinksink_class);
+  decklinksink_class = GST_DECKLINK_SINK_GET_CLASS (decklinksink);
 
   decklinksink->videosinkpad =
       gst_pad_new_from_template (gst_element_class_get_pad_template