summaryrefslogtreecommitdiff
path: root/ext/sndfile
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-06-25 11:02:21 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-06-25 11:02:21 +0000
commit5827f80d621828cc9f3be10fce0f1d4d487bfcd2 (patch)
treededc8b71890835c633c5f093fbf1c5032002afd7 /ext/sndfile
parent825b31e29565cd71614b6a64df11a5ce746299e4 (diff)
downloadgstreamer-plugins-bad-5827f80d621828cc9f3be10fce0f1d4d487bfcd2.tar.gz
gconf/: Remove dysfunctional directory (this stuff is in -good).
Original commit message from CVS: * gconf/.cvsignore: * gconf/Makefile.am: * gconf/gstreamer.schemas.in: Remove dysfunctional directory (this stuff is in -good). * ext/sndfile/gstsf.c: (plugin_init): * sys/dvb/gstdvbsrc.c: (plugin_init): Add i18n bindtextdomain stuff. * gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_class_init), (plugin_init): Post an error message when returning GST_FLOW_ERROR; minor cleanups. * po/POTFILES.in: Add more source files with translatable strings (fixes #450605).
Diffstat (limited to 'ext/sndfile')
-rw-r--r--ext/sndfile/gstsf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c
index e41586513..dcfcc1bd5 100644
--- a/ext/sndfile/gstsf.c
+++ b/ext/sndfile/gstsf.c
@@ -22,6 +22,7 @@
#include "config.h"
#endif
+#include <gst/gst-i18n-plugin.h>
#include <string.h>
#include "gstsf.h"
@@ -104,6 +105,12 @@ gst_sf_minor_types_get_type (void)
static gboolean
plugin_init (GstPlugin * plugin)
{
+#ifdef ENABLE_NLS
+ GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
+ LOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+#endif /* ENABLE_NLS */
+
if (!gst_element_register (plugin, "sfsink", GST_RANK_NONE,
gst_sf_sink_get_type ()))
return FALSE;