Hi,
     I meet a trouble in my Xv driver about colorkey. When I test the driver, firstly 
I use a application programe which set the 
XV_COLORKEY value, then I use another application programe without colorkey. The 
trouble is that when the first
programe end, it doesn't clean up the register about colorkey, so when I use the 
second programe , authough it don't set any
colorkey value , but it really run under colorkey is setting. So I think I should do 
some cleanup work when the programe quit 
in my driver, so I clean up the correlative registers in the StopVideo founction when 
cleanup flag is true. But trouble comes 
again, when the programe used colorkey is running, I switch the  terminal, and then 
switch back. When terminal is switched, 
the StopVideo function is transfer and cleanup flag is set, so when I come back, the 
colokey has been cleanup. I want to 
know  if I should add the cleanup work or if the application programe should set 
colorkey when it run every time. If the work 
should be done by Xv driver, where and when I should do the work?

Thanks
Hzeng 
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to