summaryrefslogtreecommitdiffstats
path: root/ext/polyp/plugin.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-11-24 09:05:39 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-11-24 09:05:39 +0000
commitfecfce245aa4e55d4879801eaae661315cbe9d58 (patch)
tree76ae11d74427cca44950ca8dc548e95fb331f3ee /ext/polyp/plugin.c
parentd7689f66836aee3e2e260914f242d3f18af6229d (diff)
downloadgst-plugins-bad-fecfce245aa4e55d4879801eaae661315cbe9d58.tar.gz
gst-plugins-bad-fecfce245aa4e55d4879801eaae661315cbe9d58.tar.bz2
gst-plugins-bad-fecfce245aa4e55d4879801eaae661315cbe9d58.zip
remove obsolete _factory_init protos and functions
Original commit message from CVS: * ext/audiofile/gstafsink.c: * ext/polyp/plugin.c: (plugin_init): * ext/polyp/polypsink.c: * ext/polyp/polypsink.h: * sys/dxr3/dxr3audiosink.h: * sys/dxr3/dxr3spusink.h: * sys/dxr3/dxr3videosink.h: remove obsolete _factory_init protos and functions
Diffstat (limited to 'ext/polyp/plugin.c')
-rw-r--r--ext/polyp/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/polyp/plugin.c b/ext/polyp/plugin.c
index aea78e24..02aa3e68 100644
--- a/ext/polyp/plugin.c
+++ b/ext/polyp/plugin.c
@@ -12,7 +12,8 @@ plugin_init (GstPlugin * plugin)
if (!gst_library_load ("gstaudio"))
return FALSE;
- if (!(gst_polypsink_factory_init (plugin)))
+ if (!(gst_element_register (plugin, "polypsink", GST_RANK_NONE,
+ GST_TYPE_POLYPSINK)))
return FALSE;
GST_DEBUG_CATEGORY_INIT (polyp_debug, "polyp", 0, "Polypaudio elements");