summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dxr3/dxr3audiosink.c1
-rw-r--r--sys/dxr3/dxr3init.c2
-rw-r--r--sys/dxr3/dxr3spusink.c3
-rw-r--r--sys/dxr3/dxr3videosink.c3
4 files changed, 7 insertions, 2 deletions
diff --git a/sys/dxr3/dxr3audiosink.c b/sys/dxr3/dxr3audiosink.c
index 847c34b7..5e986e21 100644
--- a/sys/dxr3/dxr3audiosink.c
+++ b/sys/dxr3/dxr3audiosink.c
@@ -31,6 +31,7 @@
#include <linux/soundcard.h>
#include <linux/em8300.h>
+#include <gst/gst-i18n-plugin.h>
#include <gst/gst.h>
#include "dxr3audiosink.h"
diff --git a/sys/dxr3/dxr3init.c b/sys/dxr3/dxr3init.c
index dcf4f299..eefa8d40 100644
--- a/sys/dxr3/dxr3init.c
+++ b/sys/dxr3/dxr3init.c
@@ -23,6 +23,8 @@
#include "config.h"
#endif
+#include "gst/gst-i18n-plugin.h"
+
#include "dxr3videosink.h"
#include "dxr3spusink.h"
#include "dxr3audiosink.h"
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c
index 6ce1bf6b..d66ea949 100644
--- a/sys/dxr3/dxr3spusink.c
+++ b/sys/dxr3/dxr3spusink.c
@@ -30,6 +30,7 @@
#include <linux/em8300.h>
+#include <gst/gst-i18n-plugin.h>
#include <gst/gst.h>
#include "dxr3spusink.h"
@@ -317,7 +318,7 @@ dxr3spusink_close (Dxr3SpuSink *sink)
if (close (sink->control_fd) != 0)
{
gst_element_error (sink, RESOURCE, CLOSE,
- (_("Could not close control device \"%s\""), sink->audio_filename),
+ (_("Could not close control device \"%s\""), sink->control_filename),
GST_ERROR_SYSTEM);
return;
}
diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c
index c81693e1..84816a51 100644
--- a/sys/dxr3/dxr3videosink.c
+++ b/sys/dxr3/dxr3videosink.c
@@ -30,6 +30,7 @@
#include <linux/em8300.h>
+#include <gst/gst-i18n-plugin.h>
#include <gst/gst.h>
#include "dxr3videosink.h"
@@ -316,7 +317,7 @@ dxr3videosink_close (Dxr3VideoSink *sink)
if (close (sink->control_fd) != 0)
{
gst_element_error (sink, RESOURCE, CLOSE,
- (_("Could not close control device \"%s\""), sink->audio_filename),
+ (_("Could not close control device \"%s\""), sink->control_filename),
GST_ERROR_SYSTEM);
return;
}