if(!(input_method = XOpenIM(display, NULL, NULL, NULL)))
{
printf("BC_WindowBase::init_im: Could not open input method.\n");
+ XSetLocaleModifiers("@im=local");
+ if(!(input_method = XOpenIM(display, NULL, NULL, NULL))) {
+ printf("BC_WindowBase::init_im: Could not open input method local.\n");
exit(1);
+ }
}
if(XGetIMValues(input_method, XNQueryInputStyle, &xim_styles, NULL) ||
xim_styles == NULL)
#include "filexml.h"
#include "guicast.h"
#include "language.h"
-#if HAVE_DV
+#ifdef HAVE_LIBDV
#include "libdv.h"
#endif
#include "libmjpeg.h"
int prev_channel;
int w, h;
// Decompressors for different video drivers
-#if HAVE_DV
+#ifdef HAVE_LIBDV
dv_t *dv;
#endif
mjpeg_t *mjpeg;
w = xS(320);
h = yS(640);
prev_channel = 0;
-#if HAVE_DV
+#ifdef HAVE_LIBDV
dv = 0;
#endif
mjpeg = 0;
delete channeldb;
delete temp;
-#if HAVE_DV
+#ifdef HAVE_LIBDV
if(dv) dv_delete(dv);
#endif
if(mjpeg) mjpeg_delete(mjpeg);
{
switch(session->vconfig_in->driver)
{
-#if HAVE_DV
+#ifdef HAVE_LIBDV
case CAPTURE_FIREWIRE:
case CAPTURE_IEC61883:
// Decompress a DV frame from the driver
}
}
}
-
-
-
-
-