[Kwintv] TV norm / source cleanup

Dirk Ziegelmeier dirk at ziegelmeier.net
Thu Jul 31 15:19:18 CEST 2003


Hi,

I'm just thinking about a TV norm and source cleanup. Problem is that only the 
v4l plugin exposes source AND norm values, XV mixes them in an "encoding" 
attribute.
I think we should:

- convert TV norm and Source to a QString for the common qvsrc API (this will 
make the API more independent form internal representations and make all 
cleartext channel formats more readable)
- adapt v4l to return QString as a norm instead of integer
- adapt xv to seperate the encoding string into norm and source, this seems to 
be safe since the xv documentation explicitly states that this string has 
"timing-source" format. However, I feel uncomfortable about this so we should 
check there is a "-" in it, if not, norm is unspecified and everything goes 
into source
- adapt channels and some of the channel formats to make norm and source a 
channel property
- what about kwintv channels plugin? How do I reliably map the norm and source 
strings of XV and v4l to the numbers used by kwintv???

This would make my previous source patches obsolete.

I'd volunteer to do this work. Any suggestions/improvements?

Is anybody working on v4l? It seriously slows down my machine when I use it, 
so it's practically impossible to do tests with it.

Ciao,
Dirk

--
Dirk Ziegelmeier * dirk at ziegelmeier.net * http://www.ziegelmeier.net



More information about the kwintv mailing list