diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-05-02 18:31:16 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-05-02 18:31:16 +0000 |
commit | 2450ca4d3adc4e15edb8f8cfc5c211a35f76a6a2 (patch) | |
tree | efe31bd17260a530718825cf2abd9a3f20c3cd76 /ext/wavpack/gstwavpack.c | |
parent | 842e4f6220619c88e2bd33baa2fd8b1e70d88228 (diff) | |
download | gst-plugins-bad-2450ca4d3adc4e15edb8f8cfc5c211a35f76a6a2.tar.gz gst-plugins-bad-2450ca4d3adc4e15edb8f8cfc5c211a35f76a6a2.tar.bz2 gst-plugins-bad-2450ca4d3adc4e15edb8f8cfc5c211a35f76a6a2.zip |
ext/wavpack/gstwavpack.c: Call bindtextdomain() to get localized strings.
Original commit message from CVS:
* ext/wavpack/gstwavpack.c: (plugin_init):
Call bindtextdomain() to get localized strings.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_push_buffer), (gst_wavpack_parse_chain):
* ext/wavpack/gstwavpackparse.h:
Handle DISCONT buffers by correctly setting the DISCONT flag
on outgoing buffers when necessary.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_handle_seek_event)
Send newsegment from the streaming thread.
Diffstat (limited to 'ext/wavpack/gstwavpack.c')
-rw-r--r-- | ext/wavpack/gstwavpack.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpack.c b/ext/wavpack/gstwavpack.c index ddd3f2a2..580d658e 100644 --- a/ext/wavpack/gstwavpack.c +++ b/ext/wavpack/gstwavpack.c @@ -23,6 +23,8 @@ #include "config.h" #endif +#include <gst/gst-i18n-plugin.h> + #include "gstwavpackparse.h" #include "gstwavpackdec.h" #include "gstwavpackenc.h" @@ -34,6 +36,13 @@ static gboolean plugin_init (GstPlugin * plugin) { GST_DEBUG_CATEGORY_INIT (wavpack_debug, "wavpack", 0, "Wavpack elements"); + +#if ENABLE_NLS + GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, + LOCALEDIR); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); +#endif + return (gst_wavpack_parse_plugin_init (plugin) && gst_wavpack_dec_plugin_init (plugin) && gst_wavpack_enc_plugin_init (plugin)); |