diff options
Diffstat (limited to 'ext/snapshot/gstsnapshot.c')
-rw-r--r-- | ext/snapshot/gstsnapshot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c index 6b7858161..97ffbed5f 100644 --- a/ext/snapshot/gstsnapshot.c +++ b/ext/snapshot/gstsnapshot.c @@ -116,10 +116,10 @@ gst_snapshot_base_init (gpointer g_class) { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_add_static_pad_template (element_class, - &snapshot_sink_factory); - gst_element_class_add_static_pad_template (element_class, - &snapshot_src_factory); + gst_element_class_add_pad_template (element_class, + gst_static_pad_template_get (&snapshot_sink_factory)); + gst_element_class_add_pad_template (element_class, + gst_static_pad_template_get (&snapshot_src_factory)); gst_element_class_set_details_simple (element_class, "Snapshot", "Filter/Editor/Video", |