rpicamsrc: deviceprovider: hook up i18n properly
authorTim-Philipp Müller <tim@centricular.com>
Mon, 13 Jul 2020 16:01:42 +0000 (17:01 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 23 Jul 2020 18:09:56 +0000 (19:09 +0100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>

po/POTFILES
sys/rpicamsrc/gstrpicamsrcdeviceprovider.c

index d99dfde..0b87b3f 100644 (file)
@@ -20,6 +20,7 @@ sys/oss4/oss4-source.c
 sys/oss/gstosssink.c
 sys/oss/gstosssrc.c
 sys/osxaudio/gstosxaudioringbuffer.c
+sys/rpicamsrc/gstrpicamsrcdeviceprovider.c
 sys/v4l2/gstv4l2bufferpool.c
 sys/v4l2/gstv4l2object.c
 sys/v4l2/gstv4l2radio.c
index c89cc08..0a5b82c 100644 (file)
@@ -27,8 +27,7 @@
 
 #include "RaspiCapture.h"
 
-/* FIXME: translations */
-#define _(s) s
+#include <gst/gst-i18n-plugin.h>
 
 static GstRpiCamSrcDevice *gst_rpi_cam_src_device_new (void);