Automatic refreshrate changing does not work when playing videos
#3
Better to fix the scanf, not the type passed to it.
Fixed in http://trac.xbmc.org/changeset/17776
Code:
Index: xbmc-xrandr.c
===================================================================
--- xbmc-xrandr.c       (revision 17774)
+++ xbmc-xrandr.c       (working copy)
-440,7 +440,7 @@
     XID        xid;
     int index;

-    if ((valid & name_xid) && sscanf (string, "0x%x", &xid) == 1)
+    if ((valid & name_xid) && sscanf (string, "0x%lx", &xid) == 1)
        set_name_xid (name, xid);
     else if ((valid & name_index) && sscanf (string, "%d", &index) == 1)
        set_name_index (name, index);
Reply


Messages In This Thread
[No subject] - by bogey - 2009-02-17, 10:04
[No subject] - by mirak63 - 2009-05-26, 15:38
Logout Mark Read Team Forum Stats Members Help
Automatic refreshrate changing does not work when playing videos0