summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/avi/gstavi.c')
-rw-r--r--gst/avi/gstavi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/avi/gstavi.c b/gst/avi/gstavi.c
index da30d434..50adfd2e 100644
--- a/gst/avi/gstavi.c
+++ b/gst/avi/gstavi.c
@@ -23,6 +23,8 @@
#include "config.h"
#endif
+#include "gst/gst-i18n-plugin.h"
+
#include "gstavidemux.h"
#include "gstavimux.h"
@@ -32,6 +34,12 @@ plugin_init (GstPlugin *plugin)
if (!gst_library_load ("riff"))
return FALSE;
+#ifdef ENABLE_NLS
+ setlocale (LC_ALL, "");
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain (GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
+
return (gst_element_register (plugin, "avidemux",
GST_RANK_PRIMARY,
GST_TYPE_AVI_DEMUX) &&