On Thu, 15 Nov 2001, Corvin Zahn wrote:
> Hi,
>
> another question: our customer wants to read out the status of the video
> signal, means they want to know whether there is a video signal at the
> inputs. In the docs I didn't find anything like a status query.
>
> One solution would be to implement a new (gettable) xvideo attribute:
>
> Attribute String Type Description
> "XV_VIDEO_STATUS" [0..1] 0 no video signal detected
> 1 video signal detected
>
> Does this make sense? Or has anyone a better idea?
>
"XV_VIDEO_STATUS" is sort of ambiguous. A name that more obviously
implies its function seems more appropriate. Maybe
"XV_PORT_SIGNAL_DETECTED" or "XV_PORT_DATA_EXISTS" but that's a bit long.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert