diff options
Diffstat (limited to 'gst/rtsp/gstrtsp.c')
-rw-r--r-- | gst/rtsp/gstrtsp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtsp.c b/gst/rtsp/gstrtsp.c index 045c03a6..37d7fbae 100644 --- a/gst/rtsp/gstrtsp.c +++ b/gst/rtsp/gstrtsp.c @@ -45,12 +45,20 @@ #include "config.h" #endif +#include "gst/gst-i18n-plugin.h" + #include "gstrtpdec.h" #include "gstrtspsrc.h" static gboolean plugin_init (GstPlugin * plugin) { +#ifdef ENABLE_NLS + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); +#endif /* ENABLE_NLS */ + if (!gst_element_register (plugin, "rtspsrc", GST_RANK_NONE, GST_TYPE_RTSPSRC)) return FALSE; |