summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-12-07 20:07:49 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-12-07 20:07:49 +0000
commit915732f5b5902ee6bc592c4b1e1cfd45baf79ca5 (patch)
treeaa26e94d7cfaa92aa1c0fbee455e7482e53a69ec /sys/oss/gstossaudio.c
parent0f1cc10947820ced5bb91b1957278722278bf9b3 (diff)
sys/oss/: Post decent (and translated) error message when we can't open the audio device for some reason.
Original commit message from CVS: * sys/oss/gstossaudio.c: (plugin_init): * sys/oss/gstosssink.c: (gst_oss_sink_open): * sys/oss/gstosssrc.c: (gst_oss_src_open): Post decent (and translated) error message when we can't open the audio device for some reason.
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index 165e6931..69c6745a 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -28,6 +28,7 @@
#include "gstosssrc.h"
GST_DEBUG_CATEGORY (oss_debug);
+#define GST_CAT_DEFAULT oss_debug
static gboolean
plugin_init (GstPlugin * plugin)
@@ -44,7 +45,8 @@ plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (oss_debug, "oss", 0, "OSS elements");
#ifdef ENABLE_NLS
- setlocale (LC_ALL, "");
+ GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
+ LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#endif /* ENABLE_NLS */