diff options
Diffstat (limited to 'sys/dshowvideosink/dshowvideosink.cpp')
-rw-r--r-- | sys/dshowvideosink/dshowvideosink.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp index 8b8554ca6..5ac2a5f3b 100644 --- a/sys/dshowvideosink/dshowvideosink.cpp +++ b/sys/dshowvideosink/dshowvideosink.cpp @@ -212,13 +212,14 @@ gst_dshowvideosink_init_interfaces (GType type) GST_DEBUG_CATEGORY_INIT (dshowvideosink_debug, "dshowvideosink", 0, \ "DirectShow video sink"); } + static void gst_dshowvideosink_base_init (gpointer klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_template)); + gst_element_class_add_static_pad_template (element_class, + &sink_template); gst_element_class_set_details_simple (element_class, "DirectShow video sink", "Sink/Video", "Display data using a DirectShow video renderer", |