mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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.
This commit is contained in:
parent
818f395402
commit
344df0b217
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue