diff options
Diffstat (limited to 'ext/sndio')
-rw-r--r-- | ext/sndio/sndiosink.c | 4 | ||||
-rw-r--r-- | ext/sndio/sndiosrc.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/sndio/sndiosink.c b/ext/sndio/sndiosink.c index 1eab80085..c9d0f719a 100644 --- a/ext/sndio/sndiosink.c +++ b/ext/sndio/sndiosink.c @@ -95,8 +95,8 @@ gst_sndiosink_base_init (gpointer g_class) "Sink/Audio", "Plays audio through sndio", "Jacob Meuser <jakemsr@sdf.lonestar.org>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sndio_sink_factory)); + gst_element_class_add_static_pad_template (element_class, + &sndio_sink_factory); } static void diff --git a/ext/sndio/sndiosrc.c b/ext/sndio/sndiosrc.c index 6800c7df6..5721f42d1 100644 --- a/ext/sndio/sndiosrc.c +++ b/ext/sndio/sndiosrc.c @@ -93,8 +93,7 @@ gst_sndiosrc_base_init (gpointer g_class) "Source/Audio", "Records audio through sndio", "Jacob Meuser <jakemsr@sdf.lonestar.org>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sndio_src_factory)); + gst_element_class_add_static_pad_template (element_class, &sndio_src_factory); } static void |