First of all, this is a very late report of the work I did last week.
I continue to work on a library to parse GNOME Video Effects. Some of the highlights of what I did last week are:
- Added the library to be compiled by autotools.
- Added a small test.
- Started handling more types of properties (boolean and string).
- Started checking property values when they are set.
- Change of license: When I started the library, I used GPL version 2 as the license following GNOME Video Effect license. Last week I decided to change it to LGPL. The library is very simple and my goal is for it to be used by most applications using GNOME Video Effects. I doubt that any application would change its license just to avoid implementing a simple parser, so I think LGPL will allow us having the most users without losing anything.
Other than that, mostly fixing stuff that was wrong and minor improvements.
The discussion about the format for properties in GNOME Video Effect is also not finished yet, but almost. This week I’m replacing the Min and Max keys for double and int properties to a range Range key and I will change how the default value is defined also. In the library I’m parsing a Default key, but the default value will be set inside the pipeline description, so, if an application is not interested in configurable properties, it will have the default value set only by using the pipeline description. This was actually right when I posted the format the first time but I changed it when implementing the library. The example is almost the same as before:
[Effect] Encoding=UTF-8 Name=Hulk Name[pt_BR]=Hulk Comment=Transform yourself into the amazing Hulk Comment[pt_BR]=Transforme-se no incrível Hulk PipelineDescription=videobalance saturation=1.5 hue=-0.5 name=balance1 [Property::angriness] Name=Angriness Name[pt_BR]=Raiva Comment=Change the angriness of Hulk by making yourself more or less green. Comment[pt_BR]=Mude a raiva do Hulk ficando mais verde ou menos verde. Type=double Range=1.2;1.6; Element=balance1 Property=saturation
0sem comentários ainda