rtspsink: Add rtspclientsink element
[platform/upstream/gstreamer.git] / gst / rtsp-sink / plugin.c
1 #ifdef HAVE_CONFIG_H
2 #include "config.h"
3 #endif
4
5 #include "gstrtspclientsink.h"
6
7 static gboolean
8 plugin_init (GstPlugin * plugin)
9 {
10 #ifdef ENABLE_NLS
11   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
12   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
13 #endif /* ENABLE_NLS */
14
15   if (!gst_element_register (plugin, "rtspclientsink", GST_RANK_NONE,
16           GST_TYPE_RTSP_CLIENT_SINK))
17     return FALSE;
18
19   return TRUE;
20 }
21
22 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
23     GST_VERSION_MINOR,
24     rtspclientsink,
25     "RTSP client sink element",
26     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)