From: <th...@ke...> - 2010-07-30 13:30:46
|
Module: gst-plugins-base Branch: master Commit: 344df0b217105c4bf785c77ab80956330f75feb6 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=344df0b217105c4bf785c77ab80956330f75feb6 Author: Jan Schmidt <th...@no...> Date: Sun Jun 20 23:53:38 2010 +1000 jsseek: Set joystick io encoding to 'NULL' Fix problems with newer glib reporting bad encodings on the binary data emerging from the joystick device fd. --- tests/examples/seek/jsseek.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c index 7e407d0..83d54d6 100644 --- a/tests/examples/seek/jsseek.c +++ b/tests/examples/seek/jsseek.c @@ -3024,6 +3024,7 @@ main (int argc, char **argv) { GIOChannel *js_watch = g_io_channel_unix_new (js_fd); + g_io_channel_set_encoding (js_watch, NULL, NULL); g_io_add_watch (js_watch, G_IO_IN, read_joystick, NULL); } |