[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: [gst-cvs] gst-plugins-base: jsseek: Set joystick io encoding to
From: thaytan () kemper ! freedesktop ! org (Jan Schmidt)
Date: 2010-07-30 13:30:39
Message-ID: 20100730133039.5CFC510057 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-plugins-base
Branch: master
Commit: 344df0b217105c4bf785c77ab80956330f75feb6
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=344df0b217105c4bf785c77ab80956330f75feb6
Author: Jan Schmidt <thaytan@noraisin.net>
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);
}
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
gstreamer-cvs mailing list
gstreamer-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic