decklinksink: obtain class from object

This commit is contained in:
Mark Nauwelaerts 2013-03-18 21:12:00 +01:00
parent 1f177beb33
commit 52908193b0

View 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