summaryrefslogtreecommitdiff
path: root/ext/sdl/sdlaudiosink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sdl/sdlaudiosink.c')
-rw-r--r--ext/sdl/sdlaudiosink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sdl/sdlaudiosink.c b/ext/sdl/sdlaudiosink.c
index 98f5bb709..707459fc7 100644
--- a/ext/sdl/sdlaudiosink.c
+++ b/ext/sdl/sdlaudiosink.c
@@ -149,8 +149,8 @@ gst_sdlaudio_sink_base_init (gpointer g_class)
"Output to a sound card via SDLAUDIO",
"Edgard Lima <edgard.lima@indt.org.br>");
- gst_element_class_add_static_pad_template (element_class,
- &sdlaudiosink_sink_factory);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&sdlaudiosink_sink_factory));
}
static void