projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818f395
)
jsseek: Set joystick io encoding to 'NULL'
author
Jan Schmidt
<thaytan@noraisin.net>
Sun, 20 Jun 2010 13:53:38 +0000
(23:53 +1000)
committer
Jan Schmidt
<thaytan@noraisin.net>
Fri, 30 Jul 2010 12:30:16 +0000
(22:30 +1000)
Fix problems with newer glib reporting bad encodings on the binary
data emerging from the joystick device fd.
tests/examples/seek/jsseek.c
patch
|
blob
|
history
diff --git
a/tests/examples/seek/jsseek.c
b/tests/examples/seek/jsseek.c
index 7e407d01ebf2d2a731b6e96890ec0f6d588b68f5..83d54d650e0b72ba0a63ef4229a5026d9f5bc5bf 100644
(file)
--- 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);
}