summaryrefslogtreecommitdiffstats
path: root/sys/dxr3/dxr3spusink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dxr3/dxr3spusink.c')
-rw-r--r--sys/dxr3/dxr3spusink.c3
1 files changed, 2 insertions, 1 deletions
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;
}