[PATCH] Xvproto.h: Fix location of pad field in xvEncodingInfo

hulifox008 hulifox008 at 163.com
Fri Jan 4 19:42:01 PST 2008


Due to my experience, on intel platform, the HDMI port is usually bridged to the TMDS output. From the xrandr -q output, could you see 
outputs like TMDS-1, TMDS-2? If so, xrandr can also report whether the output is connected. You can unplug and plug the HDMI cable to make sure xrandr has detected the connection. Then use xrandr --verbose -q to list all the available modes supported on each output. The mode has a '*' within the line is currently been used. Suppose your HDMI is connected to TMDS-1. Use xrandr --output TMDS-1 --mode <id> to set the display mode. The mode id can be retrived from the output of "xrander --verbose -q". 
Good luck :) 
------------------				 
hulifox008
2008-01-05

-------------------------------------------------------------
发件人:Peter Harris
发送日期:2008-01-05 04:05:42
收件人:xorg at lists.freedesktop.org
抄送:
主题:[PATCH] Xvproto.h: Fix location of pad field in xvEncodingInfo

From 27366e68ffd67be6e86470250d24f8fe3c535fa3 Mon Sep 17 00:00:00 2001
From: Peter Harris <peter.harris at hummingbird.com>
Date: Fri, 4 Jan 2008 15:01:15 -0500
Subject: [PATCH] Xvproto.h: Fix location of pad field in xvEncodingInfo

---
Please apply to xorg/proto/vodeoproto

 Xvproto.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Xvproto.h b/Xvproto.h
index 9112f51..88b6a8e 100644
--- a/Xvproto.h
+++ b/Xvproto.h
@@ -85,8 +85,8 @@ typedef struct {
   XvEncodingID encoding B32;
   CARD16 name_size B16;
   CARD16 width B16, height B16;
-  xvRational rate;
   CARD16 pad B16;
+  xvRational rate;
 } xvEncodingInfo;
 #define sz_xvEncodingInfo (12 + sz_xvRational)
 
-- 
1.5.3.7
-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris at hummingbird.com    Toll Free: 1 877 359 4866
_______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


More information about the xorg mailing list